Skip to content

Commit a1fa5be

Browse files
hrm
1 parent cd56903 commit a1fa5be

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

PLUGINS/FRONTEND/LSTS/lsts-parse.lsts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,13 +1080,13 @@ let lsts-parse-small-expression(tokens: List<Token>): Tuple<AST,List<Token>> = (
10801080
tokens = rhs-rest.second;
10811081
lsts-parse-expect(c"}", tokens); tokens = tail(tokens);
10821082
base = mk-app(
1083-
Var{ c"macro::while", with-location(mk-token("macro::while"),loc) },
1084-
mk-cons(
1085-
c-rest.first,
1086-
mk-app(
1087-
Var{ c"scope", with-location(mk-token("scope"),loc) },
1088-
rhs-rest.first
1089-
)
1083+
mk-app(
1084+
Var{ c"while", with-location(mk-token("while"),loc) },
1085+
c-rest.first
1086+
),
1087+
mk-app(
1088+
Var{ c"scope", with-location(mk-token("scope"),loc) },
1089+
rhs-rest.first
10901090
)
10911091
);
10921092
);

SRC/std-apply-macro.lsts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ let std-apply-macro(tctx: Maybe<TContext>, mname: CString, margs: AST, strong: B
4747
};
4848
(tctx, let result) = std-apply-macro-candidates(tctx, mname, margs, candidates);
4949
if strong && not(non-zero(result)) then exit-error("Failed to Apply Macro: \{mname}", margs);
50+
print("Apply Macro \{mname} \{margs}\nResult: \{result}\n");
5051
(tctx, result)
5152
);
5253

0 commit comments

Comments
 (0)