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)
116
116
IREP_ID_ONE (verilog_declarations )
117
117
IREP_ID_ONE (verilog_default_clocking )
118
118
IREP_ID_ONE (verilog_default_disable )
119
+ IREP_ID_ONE (verilog_identifier )
119
120
IREP_ID_ONE (verilog_lifetime )
120
121
IREP_ID_ONE (verilog_logical_equality )
121
122
IREP_ID_ONE (verilog_logical_inequality )
Original file line number Diff line number Diff line change @@ -66,7 +66,9 @@ static void preprocessor()
66
66
#define IDENTIFIER (text ) \
67
67
{ newstack (yyveriloglval); \
68
68
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)); \
70
72
return PARSER.scopes .identifier_token (irep_id); \
71
73
}
72
74
#define KEYWORD (s, x ) \
You can’t perform that action at this time.
0 commit comments