mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 18:02:25 +00:00
silences clang warnings of type "place parentheses around the '&' expression". small fix in OPV to
make it
Former-commit-id: f066c42eb9
This commit is contained in:
parent
44dd584190
commit
74488d88de
4 changed files with 6 additions and 4 deletions
|
|
@ -1 +1 @@
|
||||||
b8912125a0cc6b1d7322b4e8f0651f41ece55412
|
4b540a376f943c1a9cd7bd56b1f6020c7722374a
|
||||||
|
|
@ -698,6 +698,7 @@ MODULE OPV; (* J. Templ 16.2.95 / 3.7.96
|
||||||
expr(r, exprPrec)
|
expr(r, exprPrec)
|
||||||
END
|
END
|
||||||
ELSE
|
ELSE
|
||||||
|
IF (subclass = and) OR ((form = Set) & ((subclass = times) OR (subclass = minus))) THEN OPM.Write(OpenParen); END; (* to silence clang warnings; -- noch *)
|
||||||
expr(l, exprPrec);
|
expr(l, exprPrec);
|
||||||
CASE subclass OF
|
CASE subclass OF
|
||||||
times:
|
times:
|
||||||
|
|
@ -724,7 +725,8 @@ MODULE OPV; (* J. Templ 16.2.95 / 3.7.96
|
||||||
| or:
|
| or:
|
||||||
OPM.WriteString(" || ")
|
OPM.WriteString(" || ")
|
||||||
END;
|
END;
|
||||||
expr(r, exprPrec)
|
expr(r, exprPrec);
|
||||||
|
IF (subclass = and) OR ((form = Set) & ((subclass = times) OR (subclass = minus))) THEN OPM.Write(CloseParen) END; (* to silence clang warnings, -- noch*)
|
||||||
END
|
END
|
||||||
| Ncall:
|
| Ncall:
|
||||||
IF (l^.obj # NIL) & (l^.obj^.mode = TProc) THEN
|
IF (l^.obj # NIL) & (l^.obj^.mode = TProc) THEN
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
675d9ee513e6424d707a4e82ff97bddacb103fcc
|
ce94362b690a9421dbf818caf631e4b6122a661b
|
||||||
|
|
@ -1 +1 @@
|
||||||
675d9ee513e6424d707a4e82ff97bddacb103fcc
|
ce94362b690a9421dbf818caf631e4b6122a661b
|
||||||
Loading…
Add table
Add a link
Reference in a new issue