Skip to content

Commit 498953e

Browse files
committed
chore(fix): add missing declarations
1 parent 6fb3a5f commit 498953e

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/lexer/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ export function tokenize(ctx: Context, code: string): Token[] {
172172
value: SYMBOL.MUL,
173173
line,
174174
column,
175-
position
175+
position,
176+
implicit: true
176177
});
177178
}
178179

src/lexer/tokens.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
export enum SYMBOL {
2+
COMMENT = '#',
23
NEWLINE = '\n',
34
LPAREN = '(',
45
RPAREN = ')',
@@ -46,6 +47,7 @@ export interface Token<T = TOKEN> {
4647
position: number;
4748
line: number;
4849
column: number;
50+
implicit?: boolean;
4951
}
5052

5153
/**

0 commit comments

Comments
 (0)