mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 14:19:28 +02:00
* write expressions when getting an invalid operand error in preprocessor
git-svn-id: trunk@11546 -
This commit is contained in:
parent
c2dc42bb89
commit
0789e9409d
@ -1280,7 +1280,7 @@ In case not, the value returned can be arbitrary.
|
||||
else
|
||||
begin
|
||||
if (exprType * exprType2) = [] then
|
||||
CTEError(exprType2, exprType, tokeninfo^[op].str);
|
||||
CTEError(exprType2, exprType, '"'+hs1+' '+tokeninfo^[op].str+' '+hs2+'"');
|
||||
|
||||
if is_number(hs1) and is_number(hs2) then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user