fpc/tests/webtbs/tw31246.pp
florian 3d6d5145bf * fix handling of const string symbols in preprocessor expressions
+ accept string constants in preprocessor expressions, resolves #31246

git-svn-id: trunk@35432 -
2017-02-12 17:29:45 +00:00

14 lines
138 B
ObjectPascal

program Project1;
const
text = '';
text2 = {$IF text <> ''}
asdf
{$ELSE}
'';
{$IFEND}
begin
end.