summaryrefslogtreecommitdiff
path: root/devel/libexplain/files/patch-codegen_gram.y
blob: 2715e4148c81f17a85ad68c446261a5777db1e65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- codegen/gram.y.orig	2013-12-08 01:47:33 UTC
+++ codegen/gram.y
@@ -17,6 +17,8 @@
  * with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
+%define api.prefix {gram_}
+%define parse.error verbose
 %{
 
 #include <libexplain/ac/stdio.h>
@@ -29,7 +31,6 @@
 #include <codegen/node.h>
 
 #define YYDEBUG 0
-#define YYERROR_VERBOSE 1
 
 %}