Author: chromatic
Date: Tue May 15 13:50:25 2007
New Revision: 18556

Modified:
   trunk/languages/abc/src/abc.pg
   trunk/languages/abc/t/abc_basic

Log:
[abc] Mark a test with a parsing error as TODO.

Minor whitespace cleanup.

Modified: trunk/languages/abc/src/abc.pg
==============================================================================
--- trunk/languages/abc/src/abc.pg      (original)
+++ trunk/languages/abc/src/abc.pg      Tue May 15 13:50:25 2007
@@ -5,10 +5,10 @@
 token TOP { <program> }
 
 ## recognize terms
-token term { 
+token term {
     | $<float>:=[ \d+\.\d* | \.\d+ ]
-    | $<integer>:=[\d+] 
-    | $<ident>:=[<[a..z]><[_a..z0..9]>*] 
+    | $<integer>:=[\d+]
+    | $<ident>:=[<[a..z]><[_a..z0..9]>*]
         [ $<array>:=[ \[ <expression> \] ]
         | $<call>:=[ \( <expression> \) ]
         ]?
@@ -58,7 +58,7 @@
     is parsed(&term)
     { ... }
 
-proto 'circumfix:( )'  is equiv('term:') 
+proto 'circumfix:( )'  is equiv('term:')
     is pirop('set')
     { ... }
 

Modified: trunk/languages/abc/t/abc_basic
==============================================================================
--- trunk/languages/abc/t/abc_basic     (original)
+++ trunk/languages/abc/t/abc_basic     Tue May 15 13:50:25 2007
@@ -82,7 +82,7 @@
 3-3/3;4+4%4; 5-5+5      2\n4\n5\n       minus, mul, plus, mod expression
 
 # newlines
-1\n1+1\n1+1+1           1\n2\n3         newlines 
+1\n1+1\n1+1+1           1\n2\n3         TODO parse error with newlines and new 
grammar
 
 # named expressions
 a                       0\n             uninitialized a

Reply via email to