* admin.el (set-version): Fix regexps for config.nt and sed2v2.inp.

This commit is contained in:
Chong Yidong 2011-09-25 23:02:21 -04:00
parent b2bf61aa89
commit a0c6445257
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2011-09-26 Chong Yidong <cyd@stupidchicken.com>
* admin.el (set-version): Fix regexps for config.nt and
sed2v2.inp.
2011-09-06 Paul Eggert <eggert@cs.ucla.edu>
Merge from gnulib (Bug#9169).

View file

@ -75,11 +75,11 @@ Root must be the root of an Emacs source tree."
(submatch (1+ (in "0-9."))))))
(set-version-in-file root "nt/config.nt" version
(rx (and bol "#" (0+ blank) "define" (1+ blank)
"VERSION" (1+ blank)
"VERSION" (1+ blank) "\""
(submatch (1+ (in "0-9."))))))
(set-version-in-file root "msdos/sed2v2.inp" version
(rx (and bol "/^#undef " (1+ not-newline)
"define VERSION" (1+ space)
"define VERSION" (1+ space) "\""
(submatch (1+ (in "0-9."))))))
(set-version-in-file root "nt/makefile.w32-in" version
(rx (and "VERSION" (0+ space) "=" (0+ space)