fix(fuzzer): only use rule strings for fuzz dictionary
The `find_literals` function can also pick up tokens in `precedences`
This commit is contained in:
parent
9d669abac4
commit
89edb2ddca
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ def main():
|
|||
grammar = json.load(f)
|
||||
|
||||
literals = set()
|
||||
find_literals(literals, grammar)
|
||||
find_literals(literals, grammar['rules'])
|
||||
|
||||
for lit in sorted(literals):
|
||||
if lit:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue