Skip to content

Commit

Permalink
ditto - Change examplewithoptionfinder.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
hansonchar committed Jun 22, 2024
1 parent 267f014 commit d4c1104
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/generic/pgf/lib/examplewithoptionfinder.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ finder.grammar =
"examplewithoptions",
examplewithoptions = Ct((V "anything" * (V "example")) ^ 1) / flatten,
example = V "example_begin" * V "content" * V "example_end",
example_begin = P "\n" ^ -1 * "example({" * SP,
example_end = "\n})" * SP,
example_begin = P "\n" ^ -1 * "example {" * SP,
example_end = "\n}" * SP,
content = Ct(Cf(Ct "" * V "options" ^ -1 * V "code", set)),
anything = (1 - V "example") ^ 0,
options = SP * (V "optionskv") ^ -1 * (P ",") ^ -1,
Expand Down

0 comments on commit d4c1104

Please sign in to comment.