* better error message in case of illegal nodes for string constants, resolves #34054

git-svn-id: trunk@46931 -
This commit is contained in:
florian 2020-09-23 20:25:04 +00:00
parent 5cde0fc1e2
commit dfc485c4f4

View File

@ -909,7 +909,7 @@ function get_next_varsym(def: tabstractrecorddef; const SymList:TFPHashObjectLis
end;
end
else
IncompatibleTypes(node.resultdef, def);
Message(parser_e_illegal_expression);
end
else
if (node.nodetype=addrn) or