support for SYSTEM.ADR("x") added, i. e. for chars. sync with jtempl's

version; -- noch


Former-commit-id: 8887c4edb0
This commit is contained in:
norayr 2015-10-09 13:36:54 +04:00
parent 11acf6faca
commit df223b96a4
2 changed files with 4 additions and 1 deletions

View file

@ -409,6 +409,9 @@ MODULE OPB; (* RC 6.3.89 / 21.2.94 *) (* object model 17.1.93 *)
END ; END ;
z^.typ := OPT.booltyp z^.typ := OPT.booltyp
| adr: (*SYSTEM.ADR*) | adr: (*SYSTEM.ADR*)
IF (z^.class = Nconst) & (f = Char) & (z^.conval^.intval >= 20H) THEN
CharToString(z); f := String
END ;
IF (z^.class < Nconst) OR (f = String) THEN z := NewOp(op, typ, z) IF (z^.class < Nconst) OR (f = String) THEN z := NewOp(op, typ, z)
ELSE err(127) ELSE err(127)
END ; END ;

View file

@ -1 +1 @@
a7a837dd44a4c74f85ac685d62b8179041dd783c a113ad22927e0094e5f94f603c617f48146ed169