Plasma GitLab Archive
Projects Blog Knowledge

(* Warning: ocamllex doesn't accept cppo directives 
            within the rules section. *)
rule token = parse
    ['a'-'z']+  { `String (Lexing.lexeme lexbuf) }
{
#ifndef NOFOO
  let foo () = ()
#endif
}

This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml