1
0
mirror of https://github.com/janet-lang/janet synced 2024-09-28 07:08:14 +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
commit 59668133a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}