Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8f8fc22ef0
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (13 sloc) 0.388 kb
diff --git a/peg-0.1.4/compile.c b/peg-0.1.4/compile.c
index 0ceab92..d146564 100644
--- a/peg/compile.c
+++ b/peg/compile.c
@@ -470,7 +470,7 @@ YY_LOCAL(int) yyText(int begin, int end)\n\
yyleng= 0;\n\
else\n\
{\n\
- while (yytextlen < (yyleng - 1))\n\
+ while (yytextlen < (yyleng + 1))\n\
{\n\
yytextlen *= 2;\n\
yytext= realloc(yytext, yytextlen);\n\
Jump to Line
Something went wrong with that request. Please try again.