Open DenGhostYY opened 3 weeks ago
Did this work before?
We have simplified the UDC for enums, so we didn't check it on earlier versions
The problem in the UDC is not in the @
character, but in the <desc1,...>
markers inside the optional clauses.
If you change these to <desc1>
, the example compiles.
Your test code does not need a list match marker there. Do you know if your real code uses the list marker?
Describe the bug There are problems with UDC starting with a '@'
To Reproduce
Expected behavior (XBase++ ppo)
Actual behavior (X# ppo)
with compiler
error XS9002: Parser: unexpected input '@'
Additional context X# Compiler version 2.20.0.3 (public) -dialect:xBase++ -codepage:866 -lb -enforceself -memvar -xpp1 -vo1 -vo3 -vo4 -vo5 -vo9 -vo10 -vo12 -vo13 -vo14 -vo15 -vo16 -vo17 -reference:XSharp.Core.dll -reference:XSharp.RT.dll -reference:XSharp.XPP.dll