23 #ifndef _LOAD_SCANNER_HPP_ 24 #define _LOAD_SCANNER_HPP_ 28 #include "load_grammar.hpp" 31 #if !defined (yyFlexLexerOnce) 32 #include <FlexLexer.h> 54 yylineno = line_offset;
61 virtual int yylex (parser::semantic_type *yylval, parser::location_type *yylloc);
void on_syntax_failure(bool use_scanner_line=false)
void set_lineno(int line_offset)
~scanner() override=default
error_handler & m_error_handler
scanner(semantic_helper &semantic_helper, error_handler &error_handler)
virtual int yylex(parser::semantic_type *yylval, parser::location_type *yylloc)
semantic_helper & m_semantic_helper
void LexerError(const char *msg) override
void on_error_with_line(MSGCAT_LOADDB_MSG msg_id, Args &&...args)