mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
Rename identifer token
This commit is contained in:
parent
f073b278f9
commit
c7a7965c49
@ -442,7 +442,7 @@ BISONPRE_VERSION(3.7,%define api.header.include {"V3ParseBison.h"})
|
|||||||
%token<strp> yaID__ETC "IDENTIFIER"
|
%token<strp> yaID__ETC "IDENTIFIER"
|
||||||
%token<strp> yaID__CC "IDENTIFIER-::"
|
%token<strp> yaID__CC "IDENTIFIER-::"
|
||||||
%token<strp> yaID__LEX "IDENTIFIER-in-lex"
|
%token<strp> yaID__LEX "IDENTIFIER-in-lex"
|
||||||
%token<strp> yaID__aTYPE "TYPE-IDENTIFIER"
|
%token<strp> yaID__aTYPE "IDENTIFIER-for-type"
|
||||||
// Can't predecode aFUNCTION, can declare after use
|
// Can't predecode aFUNCTION, can declare after use
|
||||||
// Can't predecode aINTERFACE, can declare after use
|
// Can't predecode aINTERFACE, can declare after use
|
||||||
// Can't predecode aTASK, can declare after use
|
// Can't predecode aTASK, can declare after use
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
%Error: t/t_class_param_comma_bad.v:16:22: syntax error, unexpected ')', expecting TYPE-IDENTIFIER
|
%Error: t/t_class_param_comma_bad.v:16:22: syntax error, unexpected ')', expecting IDENTIFIER-for-type
|
||||||
16 | Cls #(.PARAMB(14),) ce;
|
16 | Cls #(.PARAMB(14),) ce;
|
||||||
| ^
|
| ^
|
||||||
%Error: t/t_class_param_comma_bad.v:17:13: syntax error, unexpected ')', expecting TYPE-IDENTIFIER
|
%Error: t/t_class_param_comma_bad.v:17:13: syntax error, unexpected ')', expecting IDENTIFIER-for-type
|
||||||
17 | Cls #(14,) cf;
|
17 | Cls #(14,) cf;
|
||||||
| ^
|
| ^
|
||||||
%Error: t/t_class_param_comma_bad.v:18:14: syntax error, unexpected ')', expecting TYPE-IDENTIFIER
|
%Error: t/t_class_param_comma_bad.v:18:14: syntax error, unexpected ')', expecting IDENTIFIER-for-type
|
||||||
18 | Cls2 #(15,) cg;
|
18 | Cls2 #(15,) cg;
|
||||||
| ^
|
| ^
|
||||||
%Error: t/t_class_param_comma_bad.v:19:23: syntax error, unexpected ')', expecting TYPE-IDENTIFIER
|
%Error: t/t_class_param_comma_bad.v:19:23: syntax error, unexpected ')', expecting IDENTIFIER-for-type
|
||||||
19 | Cls2 #(.PARAMB(16),) ch;
|
19 | Cls2 #(.PARAMB(16),) ch;
|
||||||
| ^
|
| ^
|
||||||
%Error: t/t_class_param_comma_bad.v:20:23: syntax error, unexpected ')', expecting TYPE-IDENTIFIER
|
%Error: t/t_class_param_comma_bad.v:20:23: syntax error, unexpected ')', expecting IDENTIFIER-for-type
|
||||||
20 | Cls2 #(.PARAMC(17),) ci;
|
20 | Cls2 #(.PARAMC(17),) ci;
|
||||||
| ^
|
| ^
|
||||||
%Error: Exiting due to
|
%Error: Exiting due to
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
%Error: t/t_inst_param_comma_bad.v:35:15: syntax error, unexpected ')', expecting TYPE-IDENTIFIER
|
%Error: t/t_inst_param_comma_bad.v:35:15: syntax error, unexpected ')', expecting IDENTIFIER-for-type
|
||||||
35 | M #(.P(13),) m1(
|
35 | M #(.P(13),) m1(
|
||||||
| ^
|
| ^
|
||||||
%Error: t/t_inst_param_comma_bad.v:40:11: syntax error, unexpected ')', expecting TYPE-IDENTIFIER
|
%Error: t/t_inst_param_comma_bad.v:40:11: syntax error, unexpected ')', expecting IDENTIFIER-for-type
|
||||||
40 | M #(14,) m2 (
|
40 | M #(14,) m2 (
|
||||||
| ^
|
| ^
|
||||||
%Error: t/t_inst_param_comma_bad.v:45:11: syntax error, unexpected ')', expecting TYPE-IDENTIFIER
|
%Error: t/t_inst_param_comma_bad.v:45:11: syntax error, unexpected ')', expecting IDENTIFIER-for-type
|
||||||
45 | M #(14,) m3 (
|
45 | M #(14,) m3 (
|
||||||
| ^
|
| ^
|
||||||
%Error: t/t_inst_param_comma_bad.v:50:15: syntax error, unexpected ')', expecting TYPE-IDENTIFIER
|
%Error: t/t_inst_param_comma_bad.v:50:15: syntax error, unexpected ')', expecting IDENTIFIER-for-type
|
||||||
50 | N #(.P(13),) n1(
|
50 | N #(.P(13),) n1(
|
||||||
| ^
|
| ^
|
||||||
%Error: t/t_inst_param_comma_bad.v:55:11: syntax error, unexpected ')', expecting TYPE-IDENTIFIER
|
%Error: t/t_inst_param_comma_bad.v:55:11: syntax error, unexpected ')', expecting IDENTIFIER-for-type
|
||||||
55 | N #(14,) n2 (
|
55 | N #(14,) n2 (
|
||||||
| ^
|
| ^
|
||||||
%Error: t/t_inst_param_comma_bad.v:60:11: syntax error, unexpected ')', expecting TYPE-IDENTIFIER
|
%Error: t/t_inst_param_comma_bad.v:60:11: syntax error, unexpected ')', expecting IDENTIFIER-for-type
|
||||||
60 | N #(14,) n3 (
|
60 | N #(14,) n3 (
|
||||||
| ^
|
| ^
|
||||||
%Error: Exiting due to
|
%Error: Exiting due to
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
%Error: t/t_lint_implicit_type_bad.v:11:11: syntax error, unexpected TYPE-IDENTIFIER
|
%Error: t/t_lint_implicit_type_bad.v:11:11: syntax error, unexpected IDENTIFIER-for-type
|
||||||
11 | assign imp_type_conflict = 1'b1;
|
11 | assign imp_type_conflict = 1'b1;
|
||||||
| ^~~~~~~~~~~~~~~~~
|
| ^~~~~~~~~~~~~~~~~
|
||||||
%Error: Exiting due to
|
%Error: Exiting due to
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
7 | module t (input mispkg::foo_t a);
|
7 | module t (input mispkg::foo_t a);
|
||||||
| ^~~~~~
|
| ^~~~~~
|
||||||
... For error description see https://verilator.org/warn/PKGNODECL?v=latest
|
... For error description see https://verilator.org/warn/PKGNODECL?v=latest
|
||||||
%Error: t/t_lint_pkg_colon_bad.v:7:25: syntax error, unexpected IDENTIFIER, expecting TYPE-IDENTIFIER
|
%Error: t/t_lint_pkg_colon_bad.v:7:25: syntax error, unexpected IDENTIFIER, expecting IDENTIFIER-for-type
|
||||||
7 | module t (input mispkg::foo_t a);
|
7 | module t (input mispkg::foo_t a);
|
||||||
| ^~~~~
|
| ^~~~~
|
||||||
%Error: Exiting due to
|
%Error: Exiting due to
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
%Error: t/t_param_type_bad.v:9:27: syntax error, unexpected INTEGER NUMBER, expecting IDENTIFIER or TYPE-IDENTIFIER or randomize
|
%Error: t/t_param_type_bad.v:9:27: syntax error, unexpected INTEGER NUMBER, expecting IDENTIFIER or IDENTIFIER-for-type or randomize
|
||||||
9 | localparam type bad2 = 2;
|
9 | localparam type bad2 = 2;
|
||||||
| ^
|
| ^
|
||||||
%Error: Exiting due to
|
%Error: Exiting due to
|
||||||
|
Loading…
Reference in New Issue
Block a user