summaryrefslogtreecommitdiff
path: root/src/compiler/parse/read/expression.ts
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2021-03-22 00:26:59 -0700
committerGravatar Fred K. Schott <fkschott@gmail.com> 2021-03-22 00:26:59 -0700
commitd125d57b3a314d994149f84c18747c85bdf1f0b1 (patch)
tree378e6b3f0c37b99278fb5eda41e194088d3ac020 /src/compiler/parse/read/expression.ts
parentf28590e640449c849727222bcf4451544c65df36 (diff)
downloadastro-d125d57b3a314d994149f84c18747c85bdf1f0b1.tar.gz
astro-d125d57b3a314d994149f84c18747c85bdf1f0b1.tar.zst
astro-d125d57b3a314d994149f84c18747c85bdf1f0b1.zip
add typescript support for expressions
Diffstat (limited to 'src/compiler/parse/read/expression.ts')
-rw-r--r--src/compiler/parse/read/expression.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/parse/read/expression.ts b/src/compiler/parse/read/expression.ts
index 56e79265d..827a29721 100644
--- a/src/compiler/parse/read/expression.ts
+++ b/src/compiler/parse/read/expression.ts
@@ -8,7 +8,6 @@ import { whitespace } from '../../utils/patterns.js';
export default function read_expression(parser: Parser): string {
try {
const node = parse_expression_at(parser.template, parser.index);
-
let num_parens = 0;
for (let i = parser.index; i < node.start; i += 1) {