aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-04 17:28:25 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-04 17:28:25 +0200
commitada93069cb5fb292bfb5f3b8a22ba6221e55d7b5 (patch)
tree54ee4d79872ad058e31cac811ad1c1644e55e46b /src
parentd3260c83db715eace76b8ced49d2c5f368647c21 (diff)
Simplify
Diffstat (limited to 'src')
-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