1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/math/graphthing/files/patch-src_gt_bison.y
Dmitry Marakasov 81e812fb7f - Drop deprecated WX_UNICODE
- Regenerate patches with `make makepatch`
- Fix WWW:
2016-08-16 08:32:15 +00:00

21 lines
420 B
Plaintext

--- src/gt-bison.y.orig 2006-09-11 01:32:12 UTC
+++ src/gt-bison.y
@@ -18,7 +18,7 @@ Edge *e;
extern char *yy_gt_text;
-int yy_gt_error (char *s);
+int yy_gt_error (const char *s);
int yy_gt_lex (void);
%}
@@ -132,7 +132,7 @@ edge_property:
%%
-int yy_gt_error (char *s)
+int yy_gt_error (const char *s)
{
fprintf (stderr, "gt-parse: %s in line %i, at symbol \"%s\"\n",
s, gt_lineno, yy_gt_text);