Skip to content

Commit

Permalink
styling
Browse files Browse the repository at this point in the history
  • Loading branch information
s-kybound committed Nov 3, 2024
1 parent a7b436f commit 62ffc40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/transpiler/parser/scheme-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,10 @@ export class SchemeParser implements Parser {
default:
// if in a quoting context, or when dealing with the macro chapter,
// any keyword is instead treated as a symbol
if (this.quoteMode !== QuoteMode.NONE || this.chapter >= MACRO_CHAPTER) {
if (
this.quoteMode !== QuoteMode.NONE ||
this.chapter >= MACRO_CHAPTER
) {
return new Atomic.Symbol(this.toLocation(token), token.lexeme);
}
throw new ParserError.UnexpectedFormError(
Expand Down

0 comments on commit 62ffc40

Please sign in to comment.