From 1964e459f25187bc12153a7bdaade06fc1c65449 Mon Sep 17 00:00:00 2001 From: gpetrousov Date: Wed, 8 Feb 2023 14:56:53 +0100 Subject: [PATCH] Fix integer constant token --- Finishing Off The Grammar-Parser-part2/parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Finishing Off The Grammar-Parser-part2/parser.y b/Finishing Off The Grammar-Parser-part2/parser.y index 38a83ab..b4b23ef 100644 --- a/Finishing Off The Grammar-Parser-part2/parser.y +++ b/Finishing Off The Grammar-Parser-part2/parser.y @@ -24,7 +24,7 @@ %token ADDOP MULOP DIVOP INCR OROP ANDOP NOTOP EQUOP RELOP %token LPAREN RPAREN LBRACK RBRACK LBRACE RBRACE SEMI DOT COMMA ASSIGN REFER %token ID -%token CONST +%token ICONST %token FCONST %token CCONST %token STRING