diff options
Diffstat (limited to 'src/lexer.cpp')
-rw-r--r-- | src/lexer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lexer.cpp b/src/lexer.cpp index 834d3bc..3ebb0cf 100644 --- a/src/lexer.cpp +++ b/src/lexer.cpp | |||
@@ -10,7 +10,7 @@ Lexer::Lexer( Bu::Stream &rIn ) : | |||
10 | iScale( 0 ), | 10 | iScale( 0 ), |
11 | iRadix( 10 ), | 11 | iRadix( 10 ), |
12 | numRangeTop('9'), | 12 | numRangeTop('9'), |
13 | ascRangeTop(0) | 13 | ascRangeTop('a'-1) |
14 | { | 14 | { |
15 | } | 15 | } |
16 | 16 | ||
@@ -152,7 +152,7 @@ void Lexer::setRadix( int i ) | |||
152 | if( iRadix <= 10 ) | 152 | if( iRadix <= 10 ) |
153 | { | 153 | { |
154 | numRangeTop = '0'+iRadix-1; | 154 | numRangeTop = '0'+iRadix-1; |
155 | ascRangeTop = 0; | 155 | ascRangeTop = 'a'-1; |
156 | } | 156 | } |
157 | else | 157 | else |
158 | { | 158 | { |