aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/parser.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/parser.y b/src/parser.y
index 38d1743..e77af6f 100644
--- a/src/parser.y
+++ b/src/parser.y
@@ -30,10 +30,10 @@ extern const char *current_file;
/* Very important that NOT is the first token declared! Code depends on it. */
%start input
-%type <ast> line exp
-%token <ast> NOT AND OR XOR IMPL EQUIV OPAR CPAR
-%token <ch> IDENT
-%token EOL
+%token NOT AND OR XOR IMPL
+%token EQUIV OPAR CPAR EOL
+%token<ch> IDENT
+%type<ast> line exp
%left OR
%left AND