Skip to content

Commit

Permalink
Merge pull request #650 from sorawee/master
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
kach authored Nov 14, 2024
2 parents 6e24450 + 06da1dd commit 96f1da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
var name = unique(ruleName + "$macrocall");
var macro = result.macros[token.macrocall];
if (!macro) {
throw new Error("Unkown macro: "+token.macrocall);
throw new Error("Unknown macro: "+token.macrocall);
}
if (macro.args.length !== token.args.length) {
throw new Error("Argument count mismatch.");
Expand Down

0 comments on commit 96f1da1

Please sign in to comment.