Commit 267c6c00 authored by Francis Dupont's avatar Francis Dupont

[master] yy_scan_bytes -> <prefix>_scan_bytes

parent 776a5dc9
......@@ -1430,7 +1430,7 @@ Parser4Context::scanStringBegin(const std::string& str, ParserType parser_type)
loc_.initialize(&file_);
yy_flex_debug = trace_scanning_;
YY_BUFFER_STATE buffer;
buffer = yy_scan_bytes(str.c_str(), str.size());
buffer = parser4__scan_bytes(str.c_str(), str.size());
if (!buffer) {
fatal("cannot scan string");
// fatal() throws an exception so this can't be reached
......
......@@ -1477,7 +1477,7 @@ Parser6Context::scanStringBegin(const std::string& str, ParserType parser_type)
loc_.initialize(&file_);
yy_flex_debug = trace_scanning_;
YY_BUFFER_STATE buffer;
buffer = yy_scan_bytes(str.c_str(), str.size());
buffer = parser6__scan_bytes(str.c_str(), str.size());
if (!buffer) {
fatal("cannot scan string");
// fatal() throws an exception so this can't be reached
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment