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 ;
z^.typ := OPT.booltyp
| 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)
ELSE err(127)
END ;