Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PlSql] Add pragma_declaration to package_obj_body #3791

Merged
merged 1 commit into from
Oct 22, 2023

Conversation

marty-se
Copy link
Contributor

E.g. https://docs.oracle.com/en/database/oracle/oracle-database/21/lnpls/SERIALLY_REUSABLE-pragma.html states that: "The SERIALLY_REUSABLE pragma can appear in the declare_section of the specification of a bodiless package, or in both the specification and body of a package, but not in only the body of a package."

Also, pragma exception_init (...) has been verified to work in the declaration section of a package body, although https://docs.oracle.com/en/database/oracle/oracle-database/21/lnpls/EXCEPTION_INIT-pragma.html doesn't mention it.

https://docs.oracle.com/en/database/oracle/oracle-database/21/lnpls/SERIALLY_REUSABLE-pragma.html#GUID-35B02603-B794-403C-9E0D-E40208CEAF35 states that:
"The SERIALLY_REUSABLE pragma can appear in the declare_section of the specification of a bodiless package, or in both the specification and body of a package, but not in only the body of a package."
@KvanTTT KvanTTT added plsql example New example of file(s) parsed by grammar-generated parser labels Oct 22, 2023
Copy link
Member

@KvanTTT KvanTTT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution and welcome to ANTLR grammars repository!

@KvanTTT KvanTTT merged commit a2ac92f into antlr:master Oct 22, 2023
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
example New example of file(s) parsed by grammar-generated parser plsql
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants