Skip to content

ccc, cccx: the CALL statement, and the ! qualifier of a procedure is kept - #64

Merged
stbischof merged 1 commit into
eclipse-daanse:mainfrom
dbulahov:main60
Nov 20, 2026
Merged

stbischof merged 1 commit into
eclipse-daanse:mainfrom
dbulahov:main60

Conversation

@dbulahov

Copy link
Copy Markdown
Contributor

What does this PR do?

fixed #60

CALL [ON ] is read into the new CallStatement. The
procedure is the tree the same text gives as an expression: a.b.Proc(x) is
the method Proc on a.b, Proc(x) a function, a.b.Proc a compound id. CALL
stays a name elsewhere. The older a!b!Proc(x) now gives the tree of
a.b.Proc(x) in both parsers, also inside an expression: ccc dropped the
qualifiers, cccx threw a NullPointerException. The unparser writes CALL back.

Tests: parser.tck CallStatementTest, unparser.simple
SimpleUnparserCallStatementTest.

…kept

CALL <procedure> [ON <cube>] is read into the new CallStatement. The
procedure is the tree the same text gives as an expression: a.b.Proc(x) is
the method Proc on a.b, Proc(x) a function, a.b.Proc a compound id. CALL
stays a name elsewhere. The older a!b!Proc(x) now gives the tree of
a.b.Proc(x) in both parsers, also inside an expression: ccc dropped the
qualifiers, cccx threw a NullPointerException. The unparser writes CALL back.

Tests: parser.tck CallStatementTest, unparser.simple
SimpleUnparserCallStatementTest.

Signed-off-by: dbulahov <bulahovdenis@gmail.com>
@sonarqubecloud

Copy link
Copy Markdown

@stbischof
stbischof merged commit 33ce0e9 into eclipse-daanse:main Nov 20, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ccc, cccx: the CALL statement is not parsed

2 participants