diff options
Diffstat (limited to 'src/lexer.h')
-rw-r--r-- | src/lexer.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lexer.h b/src/lexer.h index d5631d4..193a22b 100644 --- a/src/lexer.h +++ b/src/lexer.h | |||
@@ -20,7 +20,7 @@ public: | |||
20 | void setMode( Mode e ) { eMode = e; } | 20 | void setMode( Mode e ) { eMode = e; } |
21 | Mode getMode() const { return eMode; } | 21 | Mode getMode() const { return eMode; } |
22 | 22 | ||
23 | Token nextToken(); | 23 | void nextToken(); |
24 | 24 | ||
25 | int getScale() const { return iScale; } | 25 | int getScale() const { return iScale; } |
26 | void setScale( int i ) { iScale = i; } | 26 | void setScale( int i ) { iScale = i; } |
@@ -31,6 +31,7 @@ public: | |||
31 | Token &operator[]( int iIdx ); | 31 | Token &operator[]( int iIdx ); |
32 | 32 | ||
33 | private: | 33 | private: |
34 | void fillToken(); | ||
34 | Token nextTokenNormal(); | 35 | Token nextTokenNormal(); |
35 | Token nextTokenCommand(); | 36 | Token nextTokenCommand(); |
36 | 37 | ||
@@ -43,6 +44,11 @@ private: | |||
43 | char numRangeTop; | 44 | char numRangeTop; |
44 | char ascRangeTop; | 45 | char ascRangeTop; |
45 | Mode eMode; | 46 | Mode eMode; |
47 | |||
48 | int iLookAheadSize; | ||
49 | int iLookAheadUsed; | ||
50 | int iLookAheadStart; | ||
51 | Token *aLookAhead; | ||
46 | }; | 52 | }; |
47 | 53 | ||
48 | #endif | 54 | #endif |