forked from opengaussexamples/examples
add Loop keywords
This commit is contained in:
parent
405dcf6569
commit
477e484385
|
|
@ -30,7 +30,9 @@ public class OracleLexer {
|
||||||
// keywords of view
|
// keywords of view
|
||||||
, "REPLACE", "VIEW"
|
, "REPLACE", "VIEW"
|
||||||
// PL/SQL
|
// PL/SQL
|
||||||
, ":=", "IF", "ELSIF"
|
, ":=", "IF", "ELSIF", "BEGIN"
|
||||||
|
// Loop
|
||||||
|
, "LOOP", "EXIT", "WHILE", "FOR", "IN"
|
||||||
};
|
};
|
||||||
private static final Pattern TOKEN_PATTERN = Pattern.compile(
|
private static final Pattern TOKEN_PATTERN = Pattern.compile(
|
||||||
"(NUMBER\\(.*?\\))|" + // NUMBER() function
|
"(NUMBER\\(.*?\\))|" + // NUMBER() function
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue