@@ -567,7 +567,7 @@ subtype_declaration
567567 : SUBTYPE type_name IS type_spec (RANGE expression ' ..' expression)? (NOT NULL )? ' ;'
568568 ;
569569
570- // cursor_declaration incorportates curscursor_body and cursor_spec
570+ // cursor_declaration incorporates curscursor_body and cursor_spec
571571cursor_declaration
572572 : CURSOR cursor_name (' (' parameter_spec (' ,' parameter_spec)* ' )' )? (RETURN type_spec)? (IS select_statement)? ' ;'
573573 ;
@@ -870,12 +870,12 @@ savepoint_statement
870870// Dml
871871
872872/* TODO
873- //SHOULD BE OVERRIDEN !
873+ //SHOULD BE OVERRIDDEN !
874874compilation_unit
875875 : seq_of_statements* EOF
876876 ;
877877
878- //SHOULD BE OVERRIDEN !
878+ //SHOULD BE OVERRIDDEN !
879879seq_of_statements
880880 : select_statement
881881 | update_statement
@@ -954,7 +954,7 @@ table_ref_list
954954// NOTE to PIVOT clause
955955// according the SQL reference this should not be possible
956956// according to he reality it is. Here we probably apply pivot/unpivot onto whole join clause
957- // eventhough it is not enclosed in parenthesis. See pivot examples 09,10,11
957+ // even though it is not enclosed in parenthesis. See pivot examples 09,10,11
958958table_ref
959959 : table_ref_aux join_clause* (pivot_clause | unpivot_clause)?
960960 ;
@@ -3148,8 +3148,8 @@ fragment QS_PAREN : QUOTE '(' .*? ')' QUOTE ;
31483148
31493149fragment QS_OTHER_CH : ~(' <' | ' {' | ' [' | ' (' | ' ' | ' \t ' | ' \n ' | ' \r ' );
31503150/* fragment QS_OTHER:
3151- QUOTE QS_OTHER_CH { delimeter = _input.La(-1); }
3152- (. { _input.La(-1) != delimeter }? )* QS_OTHER_CH QUOTE;*/
3151+ QUOTE QS_OTHER_CH { delimiter = _input.La(-1); }
3152+ (. { _input.La(-1) != delimiter }? )* QS_OTHER_CH QUOTE;*/
31533153/* fragment QS_OTHER
31543154// For C target we have to preserve case sensitivity.
31553155// @declarations {
@@ -3487,7 +3487,7 @@ SQL92_RESERVED_END
34873487
34883488SQL92_RESERVED_EXCEPTION
34893489 : ' exception'
3490- /* TODO // "exception" is a keyword only withing the contex of the PL/SQL language
3490+ /* TODO // "exception" is a keyword only within the context of the PL/SQL language
34913491 // while it can be an identifier(column name, table name) in SQL
34923492 // "exception" is a keyword if and only it is followed by "when"
34933493 {
0 commit comments