Browse Source

[master] yy_scan_bytes -> <prefix>_scan_bytes

Francis Dupont 8 years ago
parent
commit
267c6c001f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/bin/dhcp4/dhcp4_lexer.ll
  2. 1 1
      src/bin/dhcp6/dhcp6_lexer.ll

+ 1 - 1
src/bin/dhcp4/dhcp4_lexer.ll

@@ -1430,7 +1430,7 @@ Parser4Context::scanStringBegin(const std::string& str, ParserType parser_type)
     loc_.initialize(&file_);
     loc_.initialize(&file_);
     yy_flex_debug = trace_scanning_;
     yy_flex_debug = trace_scanning_;
     YY_BUFFER_STATE buffer;
     YY_BUFFER_STATE buffer;
-    buffer = yy_scan_bytes(str.c_str(), str.size());
+    buffer = parser4__scan_bytes(str.c_str(), str.size());
     if (!buffer) {
     if (!buffer) {
         fatal("cannot scan string");
         fatal("cannot scan string");
         // fatal() throws an exception so this can't be reached
         // fatal() throws an exception so this can't be reached

+ 1 - 1
src/bin/dhcp6/dhcp6_lexer.ll

@@ -1477,7 +1477,7 @@ Parser6Context::scanStringBegin(const std::string& str, ParserType parser_type)
     loc_.initialize(&file_);
     loc_.initialize(&file_);
     yy_flex_debug = trace_scanning_;
     yy_flex_debug = trace_scanning_;
     YY_BUFFER_STATE buffer;
     YY_BUFFER_STATE buffer;
-    buffer = yy_scan_bytes(str.c_str(), str.size());
+    buffer = parser6__scan_bytes(str.c_str(), str.size());
     if (!buffer) {
     if (!buffer) {
         fatal("cannot scan string");
         fatal("cannot scan string");
         // fatal() throws an exception so this can't be reached
         // fatal() throws an exception so this can't be reached