Skip to content

Commit

Permalink
Only allow line number directives with filename (ocaml/ocaml#931)
Browse files Browse the repository at this point in the history
  • Loading branch information
314eter committed Jan 19, 2019
1 parent 6a1cacb commit b9d6fb0
Show file tree
Hide file tree
Showing 3 changed files with 744,009 additions and 752,101 deletions.
13 changes: 13 additions & 0 deletions corpus/toplevel.txt
Expand Up @@ -16,3 +16,16 @@ Toplevel directives
(toplevel_directive
(directive)
(value_path (value_name))))

==============================
Line number directives
==============================

# 1 "test.ml"
# 2 "test.ml" (* comment *)

---

(compilation_unit
(line_number_directive)
(line_number_directive))

0 comments on commit b9d6fb0

Please sign in to comment.