tools/PascalParser.hs
changeset 7642 91fce82f9c6f
parent 7641 42dba3e7fed2
child 7690 6ef121a80cb0
--- a/tools/PascalParser.hs	Fri Aug 31 22:08:29 2012 +0200
+++ b/tools/PascalParser.hs	Sat Sep 01 10:40:22 2012 +0200
@@ -438,7 +438,7 @@
     return o
 
 ifBlock = do
-    try $ string "if" >> notFollowedBy alphaNum
+    try $ string "if" >> notFollowedBy (alphaNum <|> char '_')
     comments
     e <- expression
     comments