src/lexer.h

changeset 86
43fe4be38a58
parent 85
264a61e9eba0
equal deleted inserted replaced
85:264a61e9eba0 86:43fe4be38a58
89 static inline string describe_token (token* tok) 89 static inline string describe_token (token* tok)
90 { 90 {
91 return describe_token_private (tok->type, tok); 91 return describe_token_private (tok->type, tok);
92 } 92 }
93 93
94 static lexer* get_main_lexer(); 94 static lexer* get_current_lexer();
95 95
96 inline void skip (int a = 1) 96 inline void skip (int a = 1)
97 { 97 {
98 m_token_position += a; 98 m_token_position += a;
99 } 99 }

mercurial