Skip to content

Reserved words can't be used as SHOW_PAGE parameter names #114

Description

@ako

Description

When a page parameter is named with a reserved keyword (e.g., `Operation`), the colon syntax fails to parse:

-- Fails: Operation is a reserved keyword
SHOW_PAGE MES.Operation_NewEdit(Operation: \$currentObject)

The grammar rule `showPageArg` uses `identifierOrKeyword` which should accept keywords, but in practice the parser fails — likely due to ANTLR ambiguity with the specific token sequence.

Workaround

Use the `$Param = $value` syntax instead:

SHOW_PAGE MES.Operation_NewEdit(\$Operation = \$currentObject)

Suggested Fix

Either fix the parsing ambiguity so `identifierOrKeyword` works reliably in parameter positions, or support quoted identifiers (`"Operation": $value`) consistently.

Impact

Low — workaround exists, but it's not discoverable without trial and error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions