1
0
mirror of https://github.com/janet-lang/janet synced 2025-08-30 09:28:03 +00:00

Merge pull request #206 from andrewchambers/unkown

Fix typo.
This commit is contained in:
Calvin Rose
2019-12-03 03:34:46 -05:00
committed by GitHub

View File

@@ -888,7 +888,7 @@ static uint32_t peg_compile1(Builder *b, Janet peg) {
for (; i > 0 && janet_checktype(peg, JANET_KEYWORD); --i) {
peg = janet_table_get_ex(grammar, peg, &grammar);
if (!grammar || janet_checktype(peg, JANET_NIL))
peg_panic(b, "unkown rule");
peg_panic(b, "unknown rule");
b->form = peg;
b->grammar = grammar;
}