mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 14:32:24 +00:00
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:
parent
11acf6faca
commit
df223b96a4
2 changed files with 4 additions and 1 deletions
|
|
@ -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 ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue