summaryrefslogtreecommitdiff
path: root/src/parser/parse/read/expression.ts
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@matthewphillips.info> 2021-03-25 14:06:08 -0400
committerGravatar GitHub <noreply@github.com> 2021-03-25 14:06:08 -0400
commit3db595937719b89956c594e4a76ee68ae8de098a (patch)
treee463889925f71539f28730f957b195b1806b3cb0 /src/parser/parse/read/expression.ts
parent18e7cc5af903543ac6f46780bfea67c13c6517df (diff)
downloadastro-3db595937719b89956c594e4a76ee68ae8de098a.tar.gz
astro-3db595937719b89956c594e4a76ee68ae8de098a.tar.zst
astro-3db595937719b89956c594e4a76ee68ae8de098a.zip
First pass at the build (#27)
This updates `astro build` to do a production build. It works! No optimizations yet.
Diffstat (limited to 'src/parser/parse/read/expression.ts')
-rw-r--r--src/parser/parse/read/expression.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/parser/parse/read/expression.ts b/src/parser/parse/read/expression.ts
index f691f4772..580c5d62b 100644
--- a/src/parser/parse/read/expression.ts
+++ b/src/parser/parse/read/expression.ts
@@ -1,7 +1,6 @@
import { parse_expression_at } from '../acorn.js';
import { Parser } from '../index.js';
import { whitespace } from '../../utils/patterns.js';
-// import { Node } from 'estree';
// @ts-ignore
export default function read_expression(parser: Parser): string {
@@ -35,7 +34,6 @@ export default function read_expression(parser: Parser): string {
parser.index = index;
return parser.template.substring(start, index);
- // return node as Node;
} catch (err) {
parser.acorn_error(err);
}