summaryrefslogtreecommitdiff
path: root/audio/epos-devel/files/patch-src_nnet_neural__parse.yy
diff options
context:
space:
mode:
Diffstat (limited to 'audio/epos-devel/files/patch-src_nnet_neural__parse.yy')
-rw-r--r--audio/epos-devel/files/patch-src_nnet_neural__parse.yy20
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/epos-devel/files/patch-src_nnet_neural__parse.yy b/audio/epos-devel/files/patch-src_nnet_neural__parse.yy
new file mode 100644
index 000000000000..11f20eb0a72c
--- /dev/null
+++ b/audio/epos-devel/files/patch-src_nnet_neural__parse.yy
@@ -0,0 +1,20 @@
+--- src/nnet/neural_parse.yy.orig 2004-02-15 18:19:09 UTC
++++ src/nnet/neural_parse.yy
+@@ -104,7 +104,7 @@ make_tree (TTypedValue val = TTypedValue
+ /* SYMBOLS */
+ /* * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+-%token_table
++//%token_table -- unsupported by the base yacc(1) on some FreeBSD versions
+ //%raw bison nefunguje s raw! (aspon yylex ne)
+
+ %union {
+@@ -255,7 +255,7 @@ unit_level: string_exp
+
+ int yyerror (char *s)
+ {
+- shriek (812, fmt ("BISON:yyerror:bison_nnet parser: bison_row %i (not counting empty rows) '%s' is erroneous. %s\n", row_num, bison_row_buf, s));
++ shriek (812, fmt ("BISON:yyerror:bison_nnet parser: bison_row %i (not counting empty rows) '%s' is erroneous. %s\n", row_num, bison_row_buf.c_str(), s));
+ return -1;
+ }
+