summaryrefslogtreecommitdiff
path: root/src/cpp-flex.skl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpp-flex.skl')
-rw-r--r--src/cpp-flex.skl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpp-flex.skl b/src/cpp-flex.skl
index e33265d..1db0446 100644
--- a/src/cpp-flex.skl
+++ b/src/cpp-flex.skl
@@ -2831,7 +2831,7 @@ void yyFlexLexer::yyrestart( std::istream& input_file )
yy_create_buffer( yyin, YY_BUF_SIZE M4_YY_CALL_LAST_ARG);
}
- yy_init_buffer( yy_current_buffer(), input_file M4_YY_CALL_LAST_ARG);
+ yy_init_buffer( YY_CURRENT_BUFFER_LVALUE, input_file M4_YY_CALL_LAST_ARG);
yy_load_buffer_state( M4_YY_CALL_ONLY_ARG );
}