Skip to content

Commit

Permalink
Add warning when defaulting to verbatim lexing
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorNicollet committed Sep 4, 2012
1 parent 070be01 commit c015a51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ohmStatic/tool/run.ml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ let extract file =
let lexer =
if BatString.ends_with file ".htm" then Lex_html.lex else
if BatString.ends_with file ".html" then Lex_html.lex else
Lex_verbatim.lex
(Printf.printf "-- Warning : unknown format %s\n" file ;
Lex_verbatim.lex )
in

let lexbuf = Lexing.from_channel channel in
Expand Down

0 comments on commit c015a51

Please sign in to comment.