Skip to content

Commit 3b3f66b

Browse files
committed
Compiler: cleanup
1 parent 64b5a68 commit 3b3f66b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

compiler/lib/dune

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
Js_token
2828
--explain
2929
--unused-token
30+
TAnnot
31+
--unused-token
3032
TComment
3133
--unused-token
3234
TCommentLineDirective

compiler/lib/js_parser.mly

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,6 @@ standalone_expression:
244244
program:
245245
| l=module_item* T_EOF { l }
246246

247-
annot:
248-
| a=TAnnot { a, pi $symbolstartpos }
249-
250247
module_item:
251248
| item { $symbolstartpos, $1 }
252249

0 commit comments

Comments
 (0)