|
|
|
|
Re: Using arrays Arrays and DotNotation in Expressions [message #1793629 is a reply to message #1793628] |
Sun, 12 August 2018 12:13 |
|
and i was referign to
ArrayExp:
VariableArray |
StructArray |
SubFieldArray
;
VariableArray returns ArrayExp:
{VariableArray} => ref=[VariableDef] '(' arrayDimensions=Expression ')'
;
StructArray returns ArrayExp:
{StructArray} => ref=[StructDef] '(' arrayDimensions=Expression ')'
;
SubFieldArray returns ArrayExp:
{SubFieldArray} => ref=[SubFieldDef] '(' arrayDimensions=Expression ')'
;
we have learned that ref=[XXXXXX] is short for ref=[XXXXXX|ID] which means the parser sees it at
ref=ID
=>
you have
A= B|C;
B: ID;
C; ID;
which is ambigous for sure
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04387 seconds