diff --git a/packages/unified-latex-util-arguments/libs/gobble-arguments.ts b/packages/unified-latex-util-arguments/libs/gobble-arguments.ts index 70eedced..b1fead6a 100644 --- a/packages/unified-latex-util-arguments/libs/gobble-arguments.ts +++ b/packages/unified-latex-util-arguments/libs/gobble-arguments.ts @@ -36,9 +36,9 @@ export function gobbleArguments( // We need special behavior for embellishment argspecs. // Because an embellishment argspec specifies more than one argument, // we need to keep gobbling arguments until we've got them all. - const { tokens: embellishmentTokens } = spec; + const { tokens } = spec; - const remainingTokens = new Set(embellishmentTokens); + const remainingTokens = new Set(tokens); const tokenToArgs = new Map(); for (;;) {