]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5060] Compilation fix in lexer.ll
authorTomek Mrugalski <tomasz@isc.org>
Thu, 3 Nov 2016 10:38:56 +0000 (11:38 +0100)
committerTomek Mrugalski <tomasz@isc.org>
Thu, 3 Nov 2016 10:38:56 +0000 (11:38 +0100)
src/lib/eval/lexer.ll

index f7bd53593aef8a53c8c912307d50a8511ac4c6c3..789dee06b04764ef253ace8a0b13ae4ed6c4ae1b 100644 (file)
@@ -198,7 +198,7 @@ EvalContext::scanStringBegin()
     loc.initialize(&file_);
     yy_flex_debug = trace_scanning_;
     YY_BUFFER_STATE buffer;
-    buffer = yy_scan_bytes(string_.c_str(), string_.size());
+    buffer = eval_scan_bytes(string_.c_str(), string_.size());
     if (!buffer) {
         fatal("cannot scan string");
         // fatal() throws an exception so this can't be reached