crs-al-language-extension
crs-al-language-extension copied to clipboard
Extension unquotes fields that start with number
Hi,
CRS Extension removes double quotes surounding field names that start with a number, e.g.:
table 50100 MyTable
{
fields
{
field(1; "1Column"; Code[20])
{
DataClassification = CustomerContent;
}
}
}
gets turned into
table 50100 MyTable
{
fields
{
field(1; 1Column; Code[20])
{
DataClassification = CustomerContent;
}
}
}
Then 1Column by itself is invalid identifier and causes syntax errors. Quoted identifier works fine.
For now we will use "1 Column" instead.
Thanks.
P.S.: Name: waldo's CRS AL Language Extension Version: 1.1.22
Pull request #293 addresses this issue.
cc: @waldo1001