diff options
author | Mike Buland <eichlan@xagasoft.com> | 2016-11-23 07:35:26 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2016-11-23 07:35:26 -0700 |
commit | f50e787110c8b3ecbc1b07262842dd5fdc8a5e42 (patch) | |
tree | aec70297de4b316a7f48866b2b3ea4442cf9b954 /src/lexer.h | |
parent | 2205ae40dbb48abb6012d68eddd1682fecb3441c (diff) | |
download | clic-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.h | 2 |
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 | |||
31 | private: | 33 | private: |
32 | Token nextTokenNormal(); | 34 | Token nextTokenNormal(); |
33 | Token nextTokenCommand(); | 35 | Token nextTokenCommand(); |