Previously a string REFERENCE TO pointer variable would fail to parse when a REF= operator was present. This commit fixes this by checking if a REF= operator can be consumed when parsing a STRING variable (line). Specifically the parser should now be able to parse the following without any issues
FUNCTION main
VAR
foo : REFERENCE TO STRING REF= bar;
bar : STRING;
END_VAR
END_FUNCTION
Previously a string REFERENCE TO pointer variable would fail to parse when a REF= operator was present. This commit fixes this by checking if a REF= operator can be consumed when parsing a STRING variable (line). Specifically the parser should now be able to parse the following without any issues