summaryrefslogtreecommitdiff
path: root/src/lexer.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2016-11-23 07:35:26 -0700
committerMike Buland <eichlan@xagasoft.com>2016-11-23 07:35:26 -0700
commitf50e787110c8b3ecbc1b07262842dd5fdc8a5e42 (patch)
treeaec70297de4b316a7f48866b2b3ea4442cf9b954 /src/lexer.h
parent2205ae40dbb48abb6012d68eddd1682fecb3441c (diff)
downloadclic-f50e787110c8b3ecbc1b07262842dd5fdc8a5e42.tar.gz
clic-f50e787110c8b3ecbc1b07262842dd5fdc8a5e42.tar.bz2
clic-f50e787110c8b3ecbc1b07262842dd5fdc8a5e42.tar.xz
clic-f50e787110c8b3ecbc1b07262842dd5fdc8a5e42.zip
Added new helpers for lookahead.
Diffstat (limited to '')
-rw-r--r--src/lexer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lexer.h b/src/lexer.h
index 57b2865..d5631d4 100644
--- a/src/lexer.h
+++ b/src/lexer.h
@@ -28,6 +28,8 @@ public:
28 int getRadix() const { return iRadix; } 28 int getRadix() const { return iRadix; }
29 void setRadix( int i ); 29 void setRadix( int i );
30 30
31 Token &operator[]( int iIdx );
32
31private: 33private:
32 Token nextTokenNormal(); 34 Token nextTokenNormal();
33 Token nextTokenCommand(); 35 Token nextTokenCommand();