|
|
@@ -50,8 +50,8 @@ Listing:
|
|
|
26 inheritance + CLASS IMPLEMENTATION blocks, methods with ";"
|
|
|
27 (per the Table example, not the sketch's ","), VIRTUAL flagged.
|
|
|
28 Scopes and member checks now; lowering later (one 230 per
|
|
|
- 29 class/impl block). Classic identifiers: no underscores, so the
|
|
|
- 30 Table example's _names stay lexically out of reach.
|
|
|
+ 29 class/impl block). ISO identifiers may contain underscores, so
|
|
|
+ 30 the Table example's _names are lexically accepted.
|
|
|
31 Step 3.1 arrays: "ARRAY [lo..hi, ...] OF T" (folded literal
|
|
|
32 bounds, int/char) and open "ARRAY OF T" formals; index suffixes
|
|
|
33 with per-level checks (217/218, trap on breach via $abort);
|
|
|
@@ -1869,7 +1869,7 @@ Listing:
|
|
|
1845 inheritance + IMPLEMENTATION blocks. Scopes and member checks
|
|
|
1846 now; lowering (vtable, dispatch, THIS) later — one 230 per
|
|
|
1847 class/impl block. Methods end with ";" per the Table example
|
|
|
- 1848 (not "," as in the sketch). No underscores in identifiers. *)
|
|
|
+ 1848 (not "," as in the sketch). Identifiers may contain underscores. *)
|
|
|
1849 (* Single CLASS item in both loops: separating declaration from
|
|
|
1850 IMPLEMENTATION at the loop level needs 2-token lookahead
|
|
|
1851 (CLASS ident vs CLASS IMPLEMENTATION), which LL(1) cannot do.
|