src/lexer.h

changeset 74
007fbadfa7f9
parent 73
1ee9b312dc18
child 75
bf8c57437231
--- a/src/lexer.h	Sat Jan 11 22:36:31 2014 +0200
+++ b/src/lexer.h	Mon Jan 13 00:15:38 2014 +0200
@@ -89,7 +89,13 @@
 	}
 
 	static lexer* get_main_lexer();
-		void skip();
+
+	inline void skip (int a = 1)
+	{
+		m_token_position += a;
+	}
+
+	string peek_next_string (int a);
 
 private:
 	token_list		m_tokens;

mercurial