Remove trailing commas in Translated

This commit is contained in:
James Westman 2023-05-02 09:35:38 -05:00
parent b08a0c0665
commit d4c2bb34eb
2 changed files with 2 additions and 3 deletions

View file

@ -27,14 +27,13 @@ from .contexts import ScopeCtx, ValueTypeCtx
class Translated(AstNode):
grammar = AnyOf(
["_", "(", UseQuoted("string"), Optional(","), ")"],
["_", "(", UseQuoted("string"), ")"],
[
"C_",
"(",
UseQuoted("context"),
",",
UseQuoted("string"),
Optional(","),
")",
],
)