codetools: h2p: implemented converting && and || in macro values

git-svn-id: trunk@14666 -
This commit is contained in:
mattias 2008-03-27 19:12:51 +00:00
parent bdeca6f19c
commit f02bfe9efa

View File

@ -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]);