summaryrefslogtreecommitdiffhomepage
path: root/src/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.y')
-rw-r--r--src/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.y b/src/parse.y
index 477305db4..082b49294 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -4204,7 +4204,7 @@ parser_yylex(parser_state *p)
yyerror(p, "embedded document meets end of file");
return 0;
}
- c = nextc_n(p, sizeof(end)-1);
+ c = nextc(p);
} while (!(c < 0 || isspace(c)));
goto retry;
}