Permalink
Browse files

fixed bug in logic PARSERLIB-11

  • Loading branch information...
1 parent fec2656 commit 92d72afad980349f0fe58ba984c72fbdf0353f57 @bendisposto committed Oct 8, 2012
@@ -63,7 +63,7 @@ protected void writeToken(Token token, String text) {
@Override
protected boolean correctBalancedParenthesis(int count, Token token) {
- return !(token instanceof EOF || count == 0);
+ return !(token instanceof EOF) || count == 0;
}
}
@@ -63,7 +63,7 @@ protected void writeToken(Token token, String text) {
@Override
protected boolean correctBalancedParenthesis(int count, Token token) {
- return !(token instanceof EOF || count == 0) ;
+ return !(token instanceof EOF) || count == 0;
}
}

0 comments on commit 92d72af

Please sign in to comment.