Skip to content

Commit

Permalink
Add another missing location call
Browse files Browse the repository at this point in the history
  • Loading branch information
dontcallmedom committed Apr 19, 2024
1 parent 708512b commit 6ee0b24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/abnfp.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/abnfp.peggy
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ repeat
}
return new ast.Repeat(min, max, location());
}
/ n:decnum { return new ast.Repeat(n, n); }
/ n:decnum { return new ast.Repeat(n, n, location()); }

element
= name:rulename { return rules.addRef(name, location()) }
Expand Down

0 comments on commit 6ee0b24

Please sign in to comment.