mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-01-03 15:00:35 +01:00
codetools: h2p: implemented converting && and || in macro values
git-svn-id: trunk@14666 -
This commit is contained in:
parent
bdeca6f19c
commit
f02bfe9efa
@ -1552,9 +1552,9 @@ begin
|
||||
// don't know
|
||||
exit;
|
||||
end;
|
||||
end else if (CurAtom='|') then begin
|
||||
end else if (CurAtom='|') or (CurAtom='||') then begin
|
||||
Replace('or');
|
||||
end else if (CurAtom='&') then begin
|
||||
end else if (CurAtom='&') or (CurAtom='&&') then begin
|
||||
Replace('and');
|
||||
end else begin
|
||||
DebugLn(['TH2PasTool.MacroValueIsConstant NO ',CurAtom]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user