@oddo/lang 0.0.14 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3004,7 +3004,9 @@ function convertTemplateLiteralFromToken(token) {
3004
3004
  if (braceDepth === 0) {
3005
3005
  const exprText = text.substring(exprStart, pos);
3006
3006
  try {
3007
+ const savedSourceText = sourceText;
3007
3008
  const exprAST = parseOddoExpression(exprText);
3009
+ sourceText = savedSourceText;
3008
3010
  expressions.push(exprAST);
3009
3011
  } catch (e) {
3010
3012
  expressions.push({