Parcourir la source

[master] yy_scan_bytes -> <prefix>_scan_bytes

Francis Dupont il y a 8 ans
Parent
commit
267c6c001f
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  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_);
     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

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

@@ -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