summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2013-04-22 13:11:12 -0600
committerMike Buland <mike@xagasoft.com>2013-04-22 13:11:12 -0600
commitaa4e7d34b15dea70782cd11c77f2c62a7407f756 (patch)
tree39f39c21b0c4dccfa5c422d1eece31bc3c291fa1 /src
parent2909f50d008920568f0e50da760b266388ccc124 (diff)
downloadclic-aa4e7d34b15dea70782cd11c77f2c62a7407f756.tar.gz
clic-aa4e7d34b15dea70782cd11c77f2c62a7407f756.tar.bz2
clic-aa4e7d34b15dea70782cd11c77f2c62a7407f756.tar.xz
clic-aa4e7d34b15dea70782cd11c77f2c62a7407f756.zip
Fixed = bug in lexer (they halted it).
Diffstat (limited to 'src')
-rw-r--r--src/lexer.cpp4
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 {