Commit 5695ed9d authored by Raphaël Cauderlier's avatar Raphaël Cauderlier
Browse files

Parsing is done line by line so don't define a programm rule

parent 50387262
......@@ -23,10 +23,6 @@
%%
prog: /* empty */ { [] }
| line prog { $1 :: $2 }
;
line: TYPE CID DEF ty DOT { ($1, Typedef (Cid ($2), $4)) }
| VAR ID COLUMN ty DEF term DOT { ($1, Vardef (Id ($2), $4, $6)) }
| CHECK term COLUMN ty DOT { ($1, Check ($2, $4)) }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment