Artifact
625a7d2ad47b1e10f6207ff121fecfac61709e50 :
File
tests/grammars/g1-rules/defaults/adverbs/action-command/gcr_tcl
— part of check-in
[c1b1d00b8e]
at
2017-06-26 22:21:54
on branch trunk
—
Removed support for the `bless` adverb from the boot-parser and
following stages. Updated tests. Left the cases using bless in the
suite, for the parse errors they now cause.
(user:
aku
size: 585)
File
tests/grammars/g1-rules/defaults/adverbs/action-command/gcstate
— part of check-in
[c1b1d00b8e]
at
2017-06-26 22:21:54
on branch trunk
—
Removed support for the `bless` adverb from the boot-parser and
following stages. Updated tests. Left the cases using bless in the
suite, for the parse errors they now cause.
(user:
aku
size: 585)
0000: 67 72 61 6d 6d 61 72 20 7b 0a 20 20 20 20 67 6c grammar {. gl
0010: 6f 62 61 6c 20 7b 0a 20 20 20 20 20 20 20 20 73 obal {. s
0020: 74 61 72 74 20 42 0a 20 20 20 20 20 20 20 20 69 tart B. i
0030: 6e 61 63 63 65 73 73 69 62 6c 65 20 77 61 72 6e naccessible warn
0040: 0a 20 20 20 20 7d 0a 20 20 20 20 67 31 20 7b 0a . }. g1 {.
0050: 20 20 20 20 20 20 20 20 7b 7d 20 7b 0a 20 20 20 {} {.
0060: 20 20 20 20 20 20 20 20 20 42 20 7b 20 7b 70 72 B { {pr
0070: 69 6f 72 69 74 79 20 40 4c 45 58 3a 40 43 48 52 iority @LEX:@CHR
0080: 3a 3c 62 3e 20 30 0a 20 20 20 20 20 20 20 20 20 :<b> 0.
0090: 20 20 20 20 20 20 20 20 20 20 20 61 63 74 69 6f actio
00a0: 6e 20 7b 63 6d 64 20 64 6f 62 65 74 61 7d 0a 20 n {cmd dobeta}.
00b0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
00c0: 20 20 20 61 73 73 6f 63 20 6c 65 66 74 0a 20 20 assoc left.
00d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
00e0: 20 20 6d 61 73 6b 20 30 7d 20 7d 0a 20 20 20 20 mask 0} }.
00f0: 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 74 65 }. te
0100: 72 6d 69 6e 61 6c 20 7b 0a 20 20 20 20 20 20 20 rminal {.
0110: 20 20 20 20 20 40 4c 45 58 3a 40 43 48 52 3a 3c @LEX:@CHR:<
0120: 62 3e 20 7b 20 74 65 72 6d 69 6e 61 6c 20 7d 0a b> { terminal }.
0130: 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a }. }.
0140: 20 20 20 20 6c 65 78 65 6d 65 20 7b 0a 20 20 20 lexeme {.
0150: 20 20 20 20 20 61 63 74 69 6f 6e 20 7b 61 72 72 action {arr
0160: 61 79 20 76 61 6c 75 65 73 7d 0a 20 20 20 20 7d ay values}. }
0170: 0a 20 20 20 20 6c 30 20 7b 0a 20 20 20 20 20 20 . l0 {.
0180: 20 20 6c 61 74 6d 20 7b 0a 20 20 20 20 20 20 20 latm {.
0190: 20 20 20 20 20 40 4c 45 58 3a 40 43 48 52 3a 3c @LEX:@CHR:<
01a0: 62 3e 20 31 0a 20 20 20 20 20 20 20 20 7d 0a 20 b> 1. }.
01b0: 20 20 20 20 20 20 20 6c 65 78 65 6d 65 20 7b 0a lexeme {.
01c0: 20 20 20 20 20 20 20 20 20 20 20 20 40 4c 45 58 @LEX
01d0: 3a 40 43 48 52 3a 3c 62 3e 20 7b 20 7b 70 72 69 :@CHR:<b> { {pri
01e0: 6f 72 69 74 79 20 40 43 48 52 3a 3c 62 3e 20 30 ority @CHR:<b> 0
01f0: 7d 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 } }. }.
0200: 20 20 20 20 20 20 6c 69 74 65 72 61 6c 20 7b 0a literal {.
0210: 20 20 20 20 20 20 20 20 20 20 20 20 40 43 48 52 @CHR
0220: 3a 3c 62 3e 20 7b 20 7b 63 68 61 72 61 63 74 65 :<b> { {characte
0230: 72 20 39 38 7d 20 7d 0a 20 20 20 20 20 20 20 20 r 98} }.
0240: 7d 0a 20 20 20 20 7d 0a 7d }. }.}