Skip to content

ccc: an empty bracketed name [] and the key &[] are refused, as in SSAS they name a member with a NULL or blank key - #54

Merged
stbischof merged 1 commit into
eclipse-daanse:mainfrom
dbulahov:main051126
Nov 5, 2026
Merged

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

Conversation

@dbulahov

@dbulahov dbulahov commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

#53

NameObjectIdentifierR accepts an empty name when quoting is QUOTED and keeps refusing null and an empty UNQUOTED name. The quoting is checked first. cccx already read these forms.

Tests: parser.tck EmptyBracketedNameTest (&[], &[]&[HE], [] are read); unparser.simple writes [], &[] and &[]&[HE] back, an empty unquoted name and a null name are refused.

…AS they name a member with a NULL or blank key

NameObjectIdentifierR accepts an empty name when quoting is QUOTED and keeps
refusing null and an empty UNQUOTED name. The quoting is checked first.
cccx already read these forms.

Tests: parser.tck EmptyBracketedNameTest (&[], &[]&[HE], [] are read);
unparser.simple writes [], &[] and &[]&[HE] back, an empty unquoted name
and a null name are refused.

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

sonarqubecloud Bot commented Nov 5, 2026

Copy link
Copy Markdown

@stbischof
stbischof merged commit a1bd163 into eclipse-daanse:main Nov 5, 2026
14 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.

2 participants