Commit b4264859 authored by Francis Dupont's avatar Francis Dupont Committed by Tomek Mrugalski

[5014_phase2] Moved back context variables from lexer

parent 0fecb75a
This diff is collapsed.
......@@ -129,6 +129,24 @@ public:
OUTPUT_OPTIONS
} ParserContext;
/// @brief File name
std::string file_;
/// @brief File name stack
std::vector<std::string> files_;
/// @brief Location of the current token
///
/// The lexer will keep updating it. This variable will be useful
/// for logging errors.
isc::dhcp::location loc_;
/// @brief Location stack
std::vector<isc::dhcp::location> locs_;
/// @brief State stack
std::vector<struct yy_buffer_state*> states_;;
/// @brief Current syntactic context
ParserContext ctx_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment