Fixes: debbugs:11380
authorAndreas Schwab <schwab@linux-m68k.org>
Sun, 29 Apr 2012 20:05:44 +0000 (22:05 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Sun, 29 Apr 2012 20:05:44 +0000 (22:05 +0200)
* make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and
byte-code forms.

lib-src/ChangeLog
lib-src/make-docfile.c

index fc6d905..d225b77 100644 (file)
@@ -1,3 +1,8 @@
+2012-04-29  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and
+       byte-code forms.  (Bug#11380)
+
 2012-04-20  Chong Yidong  <cyd@gnu.org>
 
        * emacsclient.c (decode_options): Move -t -n corner case handling
index 3e79cae..b33b13f 100644 (file)
@@ -1361,7 +1361,7 @@ scan_lisp_file (const char *filename, const char *mode)
 #ifdef DEBUG
       else if (! strcmp (buffer, "if")
               || ! strcmp (buffer, "byte-code"))
-       ;
+       continue;
 #endif
 
       else