We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e7580a commit a7b436fCopy full SHA for a7b436f
src/transpiler/parser/scheme-parser.ts
@@ -275,8 +275,9 @@ export class SchemeParser implements Parser {
275
token.literal as string
276
);
277
default:
278
- // if in a quoting context, any keyword is instead treated as a symbol
279
- if (this.quoteMode !== QuoteMode.NONE) {
+ // if in a quoting context, or when dealing with the macro chapter,
+ // any keyword is instead treated as a symbol
280
+ if (this.quoteMode !== QuoteMode.NONE || this.chapter >= MACRO_CHAPTER) {
281
return new Atomic.Symbol(this.toLocation(token), token.lexeme);
282
}
283
throw new ParserError.UnexpectedFormError(
0 commit comments