dgrok icon indicating copy to clipboard operation
dgrok copied to clipboard

Failure to parse HIGHCHARUNICODE compiler directive

Open d-c-d opened this issue 4 years ago • 0 comments

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

d-c-d avatar Jun 13 '20 22:06 d-c-d