diff src/lex.l @ 7898:cce16b4e0970

lex.l (grab_block_comment): Use parens around || expression within && expression
author John W. Eaton <jwe@octave.org>
date Thu, 26 Jun 2008 15:59:51 -0400
parents 13820b9f5fd9
children ff9e7873f8ea
line wrap: on
line diff
--- a/src/lex.l
+++ b/src/lex.l
@@ -1292,7 +1292,7 @@
 	    }
 	}
 
-      if (at_bol && c == '%' || c == '#')
+      if (at_bol && (c == '%' || c == '#'))
         {
           if (c == '#' && ! warned_incompatible)
 	    {