diff --git a/hibernate-core/src/main/antlr/org/hibernate/grammars/importsql/SqlScriptParser.g4 b/hibernate-core/src/main/antlr/org/hibernate/grammars/importsql/SqlScriptParser.g4 index 1296eb057d..a996dfa07e 100644 --- a/hibernate-core/src/main/antlr/org/hibernate/grammars/importsql/SqlScriptParser.g4 +++ b/hibernate-core/src/main/antlr/org/hibernate/grammars/importsql/SqlScriptParser.g4 @@ -15,7 +15,7 @@ package org.hibernate.grammars.importsql; } script - : (NEWLINE | SPACE | TAB)* ( commandBlock (NEWLINE | SPACE | TAB)* )+ EOF + : (NEWLINE | SPACE | TAB)* ( commandBlock (NEWLINE | SPACE | TAB)* )* EOF ; commandBlock