diff options
Diffstat (limited to 'math/graphthing/files/patch-src_lang_bison.y')
-rw-r--r-- | math/graphthing/files/patch-src_lang_bison.y | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/math/graphthing/files/patch-src_lang_bison.y b/math/graphthing/files/patch-src_lang_bison.y new file mode 100644 index 000000000000..59ff245c65d2 --- /dev/null +++ b/math/graphthing/files/patch-src_lang_bison.y @@ -0,0 +1,20 @@ +--- src/lang-bison.y.orig 2006-09-11 01:32:12 UTC ++++ src/lang-bison.y +@@ -15,7 +15,7 @@ int lang_lineno = 1; + + std::stack<PhraseBlock *> pbs; + +-int yy_lang_error (char *s); ++int yy_lang_error (const char *s); + int yy_lang_lex (void); + %} + +@@ -121,7 +121,7 @@ phrase: + + extern char *yy_lang_text; + +-int yy_lang_error (char *s) ++int yy_lang_error (const char *s) + { + fprintf (stderr, "lang-parse: %s in line %i, at symbol \"%s\"\n", + s, lang_lineno, yy_lang_text); |