changeset 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 322a066543ac
children d56511a02884
files src/lex.l
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lex.l	Wed Jun 25 08:05:33 2008 -0400
+++ b/src/lex.l	Thu Jun 26 15:59:51 2008 -0400
@@ -1292,7 +1292,7 @@
 	    }
 	}
 
-      if (at_bol && c == '%' || c == '#')
+      if (at_bol && (c == '%' || c == '#'))
         {
           if (c == '#' && ! warned_incompatible)
 	    {