Commit ae085384 authored by Francis Dupont's avatar Francis Dupont

[5110] yy_scan_bytes -> <prefix>_scan_bytes

parent 7e1ef0b2
......@@ -645,7 +645,7 @@ D2ParserContext::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 = d2_parser__scan_bytes(str.c_str(), str.size());
if (!buffer) {
fatal("cannot scan string");
// fatal() throws an exception so this can't be reached
......
......@@ -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