19 #ifndef TORC_PHYSICAL_XDL_XDLSCANNER_HPP
20 #define TORC_PHYSICAL_XDL_XDLSCANNER_HPP
28 torc::XdlParser::token_type \
29 torc::XdlScanner::lex( \
30 torc::XdlParser::semantic_type* yylval, \
31 torc::XdlParser::location_type* yylloc \
35 #ifndef __FLEX_LEXER_H
36 #define yyFlexLexer XdlFlexLexer
52 XdlScanner(std::istream* arg_yyin = 0, std::ostream* arg_yyout = 0);
79 #endif // TORC_PHYSICAL_XDL_XDLSCANNER_HPP
std::string last_string
Last double-quoted string that we saw.
int quote
Variable to count the number of double-quotes seen.
Header for the XdlParser class.
virtual ~XdlScanner()
Virtual destructor.
YYSTYPE semantic_type
Symbol semantic values.
virtual XdlParser::token_type lex(XdlParser::semantic_type *yylval, XdlParser::location_type *yylloc)
Main scanning function.
void set_debug(bool b)
Enables or disables debugging output.
XdlScanner(std::istream *arg_yyin=0, std::ostream *arg_yyout=0)
Public constructor.
int colon
Variable to count the number of separator colons seen.
bool in_double_quote
Flag to track whether we are inside a double quote.