File tree 2 files changed +4
-1
lines changed
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)
108
108
IREP_ID_ONE (verilog_declarations )
109
109
IREP_ID_ONE (verilog_default_clocking )
110
110
IREP_ID_ONE (verilog_default_disable )
111
+ IREP_ID_ONE (verilog_identifier )
111
112
IREP_ID_ONE (verilog_lifetime )
112
113
IREP_ID_ONE (verilog_logical_equality )
113
114
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