Skip to content

Commit

Permalink
SQL script eval fix
Browse files Browse the repository at this point in the history
Former-commit-id: 55ebb44
  • Loading branch information
serge-rider committed Sep 26, 2017
1 parent f090379 commit c9d1938
Showing 1 changed file with 5 additions and 3 deletions.
Expand Up @@ -86,9 +86,11 @@ public void startEval() {

public void endEval() {
this.evalMode = false;
for (IRule rule : fRules) {
if (rule instanceof SQLDelimiterRule) {
((SQLDelimiterRule) rule).changeDelimiter(null);
if (fRules != null) {
for (IRule rule : fRules) {
if (rule instanceof SQLDelimiterRule) {
((SQLDelimiterRule) rule).changeDelimiter(null);
}
}
}
}
Expand Down

0 comments on commit c9d1938

Please sign in to comment.