summaryrefslogtreecommitdiffstats
path: root/src/lex.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lex.hpp')
-rw-r--r--src/lex.hpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/lex.hpp b/src/lex.hpp
index 8898d0b..ea8621b 100644
--- a/src/lex.hpp
+++ b/src/lex.hpp
@@ -62,17 +62,17 @@ private:
bool next(bool move);
void consume(bool needspace);
- int io_error(value_t *value);
- int syntax_error(value_t *value);
- int consume_comment(value_t *value);
- //int unterminated_string(value_t *value);
-
- int lex_string(value_t *value);
- int lex_address(value_t *value);
- int lex_float(value_t *value);
- int lex_number(value_t *value);
- int lex_keyword(value_t *value);
- int lex_symbol(value_t *value, bool terminal);
+ int io_error(parser_value_t *value);
+ int syntax_error(parser_value_t *value);
+ int consume_comment(parser_value_t *value);
+ //int unterminated_string(parser_value_t *value);
+
+ int lex_string(parser_value_t *value);
+ int lex_address(parser_value_t *value);
+ int lex_float(parser_value_t *value);
+ int lex_number(parser_value_t *value);
+ int lex_keyword(parser_value_t *value);
+ int lex_symbol(parser_value_t *value, bool terminal);
char current() {
return buffer[start + tok_len];
@@ -92,7 +92,7 @@ public:
fclose(file);
}
- int lex(value_t *value);
+ int lex(parser_value_t *value);
const location_t & get_location() const {
return loc;