File: dune_lexer.mll

package info (click to toggle)
ocaml-dune 2.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 14,064 kB
  • sloc: ml: 70,777; lisp: 466; ansic: 241; sh: 209; makefile: 119; python: 38; cpp: 17; javascript: 6
file content (11 lines) | stat: -rw-r--r-- 175 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
{
open! Stdune
}

rule is_script = parse
  | "(* -*- tuareg -*- *)" { true }
  | ""                     { false }

and eof_reached = parse
  | eof { true  }
  | ""  { false }