dgrok
dgrok copied to clipboard
Failure to parse HIGHCHARUNICODE compiler directive
The examples that come with the Object Pascal Handbook yield the following parse error
ObjectPascalHandbook/06/CharTest/CharTestForm.pas
35:{$HIGHCHARUNICODE ON}
This example can be found here on github: https://github.com/MarcoDelphiBooks/ObjectPascalHandbook/tree/master/06/CharTest HIGHCHARUNICODE is described here: http://docwiki.embarcadero.com/RADStudio/Sydney/en/HIGHCHARUNICODE_directive_(Delphi)
Assuming that we need to add
_directiveTypes["HIGHCHARUNICODE"] = DirectiveType.Ignored;
to the TokenFilter constructor in TokenFilter.cs