Revision c0b88108754fcfdb357c8c3a34751da144c687bc authored by Martin Karlgren on 09 March 2024, 13:42:37 UTC, committed by GitHub on 09 March 2024, 13:42:37 UTC
Before this commit, the following package init block was parsed as a variable declaration: ``` create or replace package body MyPackage is begin OtherPackage.DoSomething; end; ``` because `variable_declaration` is: ``` : identifier CONSTANT? type_spec (NOT NULL_)? default_value_part? ';' ``` so the `identifier` would match `begin` and `type_spec` would match `OtherPackage.DoSomething`. Making the `package_obj_body` match non-greedy fixes this.
1 parent c993c98
File | Mode | Size |
---|---|---|
examples | ||
README.md | -rwxr-xr-x | 185 bytes |
clf.g4 | -rw-r--r-- | 2.5 KB |
desc.xml | -rw-r--r-- | 242 bytes |
pom.xml | -rw-r--r-- | 1.5 KB |
Computing file changes ...