File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ IREP_ID_ONE(verilog_associative_array)
116116IREP_ID_ONE (verilog_declarations )
117117IREP_ID_ONE (verilog_default_clocking )
118118IREP_ID_ONE (verilog_default_disable )
119+ IREP_ID_ONE (verilog_identifier )
119120IREP_ID_ONE (verilog_lifetime )
120121IREP_ID_ONE (verilog_logical_equality )
121122IREP_ID_ONE (verilog_logical_inequality )
Original file line number Diff line number Diff line change @@ -66,7 +66,9 @@ static void preprocessor()
6666#define IDENTIFIER (text ) \
6767 { newstack (yyveriloglval); \
6868 irep_idt irep_id = text; \
69- stack_expr (yyveriloglval).id (irep_id); \
69+ stack_expr (yyveriloglval).id (ID_verilog_identifier); \
70+ stack_expr (yyveriloglval).set (ID_base_name, irep_id); \
71+ PARSER.set_source_location (stack_expr (yyveriloglval)); \
7072 return PARSER.scopes .identifier_token (irep_id); \
7173 }
7274#define KEYWORD (s, x ) \
You can’t perform that action at this time.
0 commit comments