improve ParameterizedOutputVisitor

This commit is contained in:
yakolee
2014-05-21 14:49:49 +08:00
parent 7bfdd1cfea
commit 52b66266d8
7 changed files with 23 additions and 1 deletions
@@ -100,6 +100,7 @@ public class SQLServerLexer extends Lexer {
} else {
stringVal = subString(mark, bufPos);
token = Token.MULTI_LINE_COMMENT;
hasComment = true;
}
if (token != Token.HINT && !isAllowComment()) {
@@ -142,6 +143,7 @@ public class SQLServerLexer extends Lexer {
stringVal = subString(mark + 1, bufPos);
token = Token.LINE_COMMENT;
hasComment = true;
return;
}
}