diff --git a/src/grammar/hive/HiveSqlLexer.g4 b/src/grammar/hive/HiveSqlLexer.g4 index df24628..28344a9 100644 --- a/src/grammar/hive/HiveSqlLexer.g4 +++ b/src/grammar/hive/HiveSqlLexer.g4 @@ -16,7 +16,8 @@ */ lexer grammar HiveSqlLexer; -options { caseInsensitive = true; } +// unsupported option caseInsensitive in antlr4@4.9 +// options { caseInsensitive = true; } // Keywords KW_ABORT : 'ABORT'; diff --git a/src/grammar/hive/HiveSql.g4 b/src/grammar/hive/HiveSqlParser.g4 similarity index 99% rename from src/grammar/hive/HiveSql.g4 rename to src/grammar/hive/HiveSqlParser.g4 index 6d09b79..73111eb 100644 --- a/src/grammar/hive/HiveSql.g4 +++ b/src/grammar/hive/HiveSqlParser.g4 @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -parser grammar HiveSql; +parser grammar HiveSqlParser; options { @@ -3058,4 +3058,4 @@ alterMappingStatement dropMappingStatement : KW_DROP mappingType=(KW_USER | KW_GROUP | KW_APPLICATION) KW_MAPPING name=StringLiteral KW_IN rpName=id_ - ; \ No newline at end of file + ;