1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-18 19:20:36 -04:00
ports/audio/epos-devel/files/patch-src_nnet_neural__parse.yy
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

20 lines
809 B
Text

--- 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;
}