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 | 60740a5d4313c1a0ccb0de79e70e21380cb450f7 (patch) | |
tree | 1039cd3d88e2cb3a40c0c8282e982c7c7e6b0094 /perl_checker.src/lexer.mll | |
parent | ffbc400fa90607523df068541aa5d323adf49cca (diff) | |
download | perl-MDK-Common-60740a5d4313c1a0ccb0de79e70e21380cb450f7.tar perl-MDK-Common-60740a5d4313c1a0ccb0de79e70e21380cb450f7.tar.gz perl-MDK-Common-60740a5d4313c1a0ccb0de79e70e21380cb450f7.tar.bz2 perl-MDK-Common-60740a5d4313c1a0ccb0de79e70e21380cb450f7.tar.xz perl-MDK-Common-60740a5d4313c1a0ccb0de79e70e21380cb450f7.zip |
use print_endline_flush instead of prerr_endline to comply with --restrict-to-files
Diffstat (limited to 'perl_checker.src/lexer.mll')
-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) |