Open leuschel opened 12 months ago
The behaviour of the parser here is not really consistent:
MACHINE DefNameAsRecordField DEFINITIONS aa == 1; yy == 2 CONSTANTS myrec PROPERTIES myrec = rec(xx:aa,yy:2) & // <- Parse error myrec = rec(xx:aa,`yy`:2) // <- Ok ASSERTIONS yy = 2; // <- Ok `yy` = 2 // <- Ok END
Maybe we should allow yy as record field also without quotes? Or we should try and improve the error message.
The behaviour of the parser here is not really consistent:
Maybe we should allow yy as record field also without quotes? Or we should try and improve the error message.