Skip to content

Commit

Permalink
Compiler: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Apr 28, 2023
1 parent 64b5a68 commit 3b3f66b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions compiler/lib/dune
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
Js_token
--explain
--unused-token
TAnnot
--unused-token
TComment
--unused-token
TCommentLineDirective
Expand Down
3 changes: 0 additions & 3 deletions compiler/lib/js_parser.mly
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,6 @@ standalone_expression:
program:
| l=module_item* T_EOF { l }

annot:
| a=TAnnot { a, pi $symbolstartpos }

module_item:
| item { $symbolstartpos, $1 }

Expand Down

0 comments on commit 3b3f66b

Please sign in to comment.