diff options
| author | Francesco Potortì | 2001-09-17 15:47:23 +0000 |
|---|---|---|
| committer | Francesco Potortì | 2001-09-17 15:47:23 +0000 |
| commit | 76fecdffbb270e0724ac3d13d6df836723389a83 (patch) | |
| tree | efb7d5c97300dd231d0dbf3d5a11ac405416db3f /lib-src | |
| parent | e07e854d5af495c321a5628286de68f9a7ec04ff (diff) | |
| download | emacs-76fecdffbb270e0724ac3d13d6df836723389a83.tar.gz emacs-76fecdffbb270e0724ac3d13d6df836723389a83.zip | |
* etags.c (analyse_regex): If regex_arg is NULL, return
immediately after a call to free_patterns.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/etags.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index def6f56c8d4..f0c613f232b 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -32,7 +32,7 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ | |||
| 32 | * Francesco Potortì <pot@gnu.org> has maintained it since 1993. | 32 | * Francesco Potortì <pot@gnu.org> has maintained it since 1993. |
| 33 | */ | 33 | */ |
| 34 | 34 | ||
| 35 | char pot_etags_version[] = "@(#) pot revision number is 14.20"; | 35 | char pot_etags_version[] = "@(#) pot revision number is 14.21"; |
| 36 | 36 | ||
| 37 | #define TRUE 1 | 37 | #define TRUE 1 |
| 38 | #define FALSE 0 | 38 | #define FALSE 0 |
| @@ -5085,7 +5085,10 @@ analyse_regex (regex_arg, ignore_case) | |||
| 5085 | bool ignore_case; | 5085 | bool ignore_case; |
| 5086 | { | 5086 | { |
| 5087 | if (regex_arg == NULL) | 5087 | if (regex_arg == NULL) |
| 5088 | free_patterns (); /* --no-regex: remove existing regexps */ | 5088 | { |
| 5089 | free_patterns (); /* --no-regex: remove existing regexps */ | ||
| 5090 | return; | ||
| 5091 | } | ||
| 5089 | 5092 | ||
| 5090 | /* A real --regexp option or a line in a regexp file. */ | 5093 | /* A real --regexp option or a line in a regexp file. */ |
| 5091 | switch (regex_arg[0]) | 5094 | switch (regex_arg[0]) |