]> git.localhorst.tv Git - l2e.git/commitdiff
use a syntax that my ide recognizes valid -.-
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Sun, 26 Aug 2012 19:45:23 +0000 (21:45 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Sun, 26 Aug 2012 19:45:23 +0000 (21:45 +0200)
src/loader/Parser.cpp

index cbb006c779f6645513c06810af7502937f1d39b2..39f0f876ef819c6f15ae27514c94e4497e50a9c0 100644 (file)
@@ -44,12 +44,10 @@ void Parser::ParseStatement() {
        }
 }
 
-Tokenizer::Token Parser::GetToken() {
-       try {
-               return tok.GetNext();
-       } catch (Tokenizer::LexerError &e) {
-               throw Error(file, e.Line(), e.what());
-       }
+Tokenizer::Token Parser::GetToken() try {
+       return tok.GetNext();
+} catch (Tokenizer::LexerError &e) {
+       throw Error(file, e.Line(), e.what());
 }
 
 void Parser::ParseExportDirective() {