mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 02:52:24 +00:00
A bit more tidying of case alignment
This commit is contained in:
parent
58556457bc
commit
f28c1d22cf
1 changed files with 93 additions and 89 deletions
|
|
@ -176,7 +176,8 @@ MODULE OPS; (* NW, RC 6.3.89 / 18.10.92 *) (* object model 3.6.92 *)
|
|||
END
|
||||
END ;
|
||||
CASE ch OF (* ch > " " *)
|
||||
| 22X, 27X : Str(s)
|
||||
| 22X,
|
||||
27X: Str(s)
|
||||
| "#": s := OPM.neq; OPM.Get(ch)
|
||||
| "&": s := OPM.and; OPM.Get(ch)
|
||||
| "(": OPM.Get(ch);
|
||||
|
|
@ -254,7 +255,10 @@ MODULE OPS; (* NW, RC 6.3.89 / 18.10.92 *) (* object model 3.6.92 *)
|
|||
IF name = "WHILE" THEN s := OPM.while
|
||||
ELSIF name = "WITH" THEN s := OPM.with
|
||||
END
|
||||
| "G".."H", "J", "K", "Q", "S", "X".."Z": Identifier(s)
|
||||
| "G".."H",
|
||||
"J".."K",
|
||||
"Q", "S",
|
||||
"X".."Z": Identifier(s)
|
||||
| "[": s := OPM.lbrak; OPM.Get(ch)
|
||||
| "]": s := OPM.rbrak; OPM.Get(ch)
|
||||
| "^": s := OPM.arrow; OPM.Get(ch)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue