Skip to content

Commit

Permalink
Fix print syntax for star
Browse files Browse the repository at this point in the history
  • Loading branch information
jsalzbergedu committed Jul 31, 2020
1 parent cc0c154 commit a82baef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pegreg/interpreters/print_syntax.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function print_syntax.ref(rule, rules)
end

function print_syntax.star(item)
local out = string.format("(star %s)", rule)
local out = string.format("(star %s)", item)
return out
end

Expand Down

0 comments on commit a82baef

Please sign in to comment.