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 @@ -108,6 +108,7 @@ IREP_ID_ONE(verilog_associative_array)
108108IREP_ID_ONE (verilog_declarations )
109109IREP_ID_ONE (verilog_default_clocking )
110110IREP_ID_ONE (verilog_default_disable )
111+ IREP_ID_ONE (verilog_identifier )
111112IREP_ID_ONE (verilog_lifetime )
112113IREP_ID_ONE (verilog_logical_equality )
113114IREP_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