rev 230 - trunk/src

SVN User <[email protected]>
Newsgroups gmane.comp.lang.prothon.cvs
Message-ID <[email protected]>
Author: bcollins
Date: 2004-03-31 10:11:32 -0500 (Wed, 31 Mar 2004)
New Revision: 230

Modified:
   trunk/src/prothon.y
Log:
Make &&/|| combination unambigous.


Modified: trunk/src/prothon.y
===================================================================
--- trunk/src/prothon.y	2004-03-31 15:10:56 UTC (rev 229)
+++ trunk/src/prothon.y	2004-03-31 15:11:32 UTC (rev 230)
@@ -751,8 +751,8 @@
 					tmp--;
 				}
 			}
-			wrong_char_in_indent = ( spaces_per_tab < 0 && c == ' ' ||
-									 spaces_per_tab > 0 && c == '\t'  );
+			wrong_char_in_indent = ( (spaces_per_tab < 0 && c == ' ') ||
+						 (spaces_per_tab > 0 && c == '\t')  );
 			while (c == ' ' || c == '\t') c = getch(state);
 			if (c == '\n' || c == '#')
 				goto check_comment;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.