Lines 1-18
Link Here
|
1 |
--- src/verilog.y.orig 2020-02-08 14:14:33 UTC |
1 |
--- src/verilog.y.orig 2020-07-11 01:58:03 UTC |
2 |
+++ src/verilog.y |
2 |
+++ src/verilog.y |
3 |
@@ -20,6 +20,7 @@ |
3 |
@@ -17,6 +17,7 @@ |
4 |
// Original code here by Paul Wasson and Duane Galbi |
|
|
5 |
//************************************************************************* |
4 |
//************************************************************************* |
|
|
5 |
// clang-format off |
6 |
|
6 |
|
7 |
+%define parse.error verbose |
7 |
+%define parse.error verbose |
8 |
%{ |
8 |
%{ |
9 |
#include "V3Ast.h" |
9 |
#ifdef NEVER_JUST_FOR_CLANG_FORMAT |
10 |
#include "V3Global.h" |
10 |
} |
11 |
@@ -29,7 +30,6 @@ |
11 |
@@ -31,7 +32,6 @@ |
12 |
#include <cstdlib> |
|
|
13 |
#include <cstdarg> |
12 |
#include <cstdarg> |
|
|
13 |
#include <stack> |
14 |
|
14 |
|
15 |
-#define YYERROR_VERBOSE 1 |
15 |
-#define YYERROR_VERBOSE 1 // For prior to Bison 3.6 |
16 |
#define YYINITDEPTH 10000 // Older bisons ignore YYMAXDEPTH |
16 |
#define YYINITDEPTH 10000 // Older bisons ignore YYMAXDEPTH |
17 |
#define YYMAXDEPTH 10000 |
17 |
#define YYMAXDEPTH 10000 |
18 |
|
18 |
|