diff options
Diffstat (limited to 'src/lexer.cpp')
-rw-r--r-- | src/lexer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lexer.cpp b/src/lexer.cpp index 7704343..f959e3b 100644 --- a/src/lexer.cpp +++ b/src/lexer.cpp | |||
@@ -159,7 +159,8 @@ Token Lexer::nextTokenNormal() | |||
159 | else | 159 | else |
160 | { | 160 | { |
161 | sBuf.clear(); | 161 | sBuf.clear(); |
162 | Bu::println("Invalid character discovered!"); | 162 | throw Bu::ExceptionBase( |
163 | "Invalid character discovered!"); | ||
163 | } | 164 | } |
164 | } | 165 | } |
165 | break; | 166 | break; |