Liquidsoap_lang.PreprocessorSourceExpand %include statements by inserting the content of files. Filenames are understood relatively to the current directory, which can be a relative path such as "." or "..".
val expand_string :
?fname:string ->
(unit -> Parser.token * Pos.t) ->
unit ->
Parser.token * Pos.tval parse_comments :
(unit -> Parser.token * (Lexing.position * Lexing.position)) ->
unit ->
Parser.token * (Lexing.position * Lexing.position)val int_meth :
(unit -> Parser.token * (Lexing.position * Lexing.position)) ->
unit ->
Parser.token * (Lexing.position * Lexing.position)Special token in order to avoid 3.s = "a" to be parsed as a float followed by a record.
Change MINUS to UMINUS if the minus is not preceded by a number (or an expression which could produce a number).
val mk_tokenizer :
?fname:string ->
pwd:string ->
Sedlexing.lexbuf ->
unit ->
Parser.token * Lexing.position * Lexing.position