diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-04-30 10:04:46 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-04-30 10:04:46 +0000 |
commit | ab7f1a42f595b058ac49d3b749beb646dcd7c096 (patch) | |
tree | 2c51ec02bf9d7f857a15470d742eb0ded5f94ca6 | |
parent | 0d52a5ce064c7eddcf3e7d29d59531a50483b33a (diff) | |
download | perl_checker-ab7f1a42f595b058ac49d3b749beb646dcd7c096.tar perl_checker-ab7f1a42f595b058ac49d3b749beb646dcd7c096.tar.gz perl_checker-ab7f1a42f595b058ac49d3b749beb646dcd7c096.tar.bz2 perl_checker-ab7f1a42f595b058ac49d3b749beb646dcd7c096.tar.xz perl_checker-ab7f1a42f595b058ac49d3b749beb646dcd7c096.zip |
use print_endline_flush instead of prerr_endline to comply with --restrict-to-files
-rw-r--r-- | perl_checker.src/lexer.mll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl_checker.src/lexer.mll b/perl_checker.src/lexer.mll index b00e728..5f839bd 100644 --- a/perl_checker.src/lexer.mll +++ b/perl_checker.src/lexer.mll @@ -241,7 +241,7 @@ let building_current_interpolated_string = Stack.create() let building_current_string = Stack.create() let current_string_start_pos = ref 0 let current_string_start_line = ref 0 -let warn lexbuf err = prerr_endline (pos2sfull_with (lexeme_start lexbuf) (lexeme_end lexbuf) ^ err) +let warn lexbuf err = print_endline_flush (pos2sfull_with (lexeme_start lexbuf) (lexeme_end lexbuf) ^ err) let die lexbuf err = failwith (pos2sfull_with (lexeme_start lexbuf) (lexeme_end lexbuf) ^ err) let die_in_string lexbuf err = failwith (pos2sfull_with !current_string_start_pos (lexeme_end lexbuf) ^ err) |