]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] yy_scan_bytes -> <prefix>_scan_bytes
authorFrancis Dupont <fdupont@isc.org>
Wed, 1 Feb 2017 14:11:11 +0000 (15:11 +0100)
committerFrancis Dupont <fdupont@isc.org>
Wed, 1 Feb 2017 14:11:11 +0000 (15:11 +0100)
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp6/dhcp6_lexer.ll

index ac84dd70df1adbe939683032e9fade270bf45a35..21c23ff378401c4b22eb1c8d43dcb83c61b44069 100644 (file)
@@ -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
index c3402cea33da015d788017737403d5a788b12db0..24059d62f1330b72495416f0f19f6b8856fea3bf 100644 (file)
@@ -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