Skip to content

Commit a8ad7a9

Browse files
isolate uuid issue
1 parent f535ea4 commit a8ad7a9

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
nostd: prod
3-
./production --nostd -o tmp.s STRICT/cli.lm
3+
./production --nostd -o tmp.s tests/strict/match7.lm
44
as -o tmp.o tmp.s
55
ld -o tmp tmp.o
66
./tmp && echo $?

tests/strict/match7.lm

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@ import STDLIB/default-primitives.lm;
44
import STDLIB/default-rules.lm;
55
import STDLIB/default-stdlib.lm;
66

7-
main := (match '--nomacro_s (
8-
()
9-
('--nomacro_s (tail( () (print 'Ok_s) )))
7+
import STRICT/utility.lm;
8+
9+
config-preprocess := 1u8;
10+
11+
main := λ(: argc U64)(: argv U8[][]).(tail(
12+
(match '--nomacro_s (
13+
()
14+
('--macro_s (set config-preprocess 1u8))
15+
('--nomacro_s (set config-preprocess 0u8))
16+
))
17+
(print config-preprocess)
1018
));

0 commit comments

Comments
 (0)