Skip to content

Commit

Permalink
Put longstring in the right order
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikMcClure committed Dec 4, 2023
1 parent 64f7f69 commit 0425da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion format.lua
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ local grammar = P {
string = element("string", P '"' * Cg(Ct((V "string_literal" + V "splice") ^ 0), "elements") * P '"' * V "endpos"),

tokens = space_tokens(
V "comment" + V "function_call" + V "paren_list" + V "string" + V "number" + V "symbol" + V "longstring"
V "comment" + V "function_call" + V "paren_list" + V "longstring" + V "string" + V "number" + V "symbol"
),
token_spacer = S "\t " ^ 0,

Expand Down

0 comments on commit 0425da3

Please sign in to comment.