Skip to content

Commit 75034b0

Browse files
committed
docs(PLSQL): fix typo
1 parent 19053b5 commit 75034b0

File tree

1 file changed

+7
-7
lines changed
  • src/main/antlr4/org/leplus/antlr4

1 file changed

+7
-7
lines changed

src/main/antlr4/org/leplus/antlr4/PLSQL.g4

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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
571571
cursor_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!
874874
compilation_unit
875875
: seq_of_statements* EOF
876876
;
877877
878-
//SHOULD BE OVERRIDEN!
878+
//SHOULD BE OVERRIDDEN!
879879
seq_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
958958
table_ref
959959
: table_ref_aux join_clause* (pivot_clause | unpivot_clause)?
960960
;
@@ -3148,8 +3148,8 @@ fragment QS_PAREN : QUOTE '(' .*? ')' QUOTE ;
31483148

31493149
fragment 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

34883488
SQL92_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

Comments
 (0)