Skip to content

Commit

Permalink
fix spell check #280
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Mar 25, 2024
1 parent 01def3e commit 0e18b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lips.js
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,7 @@ class Lexer {
var line = this.__input__.split('\n')[this._line];
throw new Error(`Invalid Syntax at line ${this._line + 1}\n${line}`);
}
// we need to ignore comments becase they can be the last expression in code
// we need to ignore comments because they can be the last expression in code
// without extra newline at the end
if (![null, Lexer.comment].includes(this._state)) {
const line_number = this.__input__.substring(0, this._newline).match(/\n/g)?.length ?? 0;
Expand Down

0 comments on commit 0e18b44

Please sign in to comment.