diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2003-08-14 18:11:36 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2003-08-14 18:11:36 +0000 |
commit | e6503e0a08546d23a9e76f42d71dac75211efc8f (patch) | |
tree | 58644b5dbd79f1a4ccd762f2f3fee91ae54ac9a0 /lex | |
parent | 763fbac510b0006db6bd3ba5ebcd036e91350da7 (diff) | |
download | ocaml-e6503e0a08546d23a9e76f42d71dac75211efc8f.tar.gz |
pour que les actions vides marchent comme avant
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5779 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'lex')
-rw-r--r-- | lex/common.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lex/common.ml b/lex/common.ml index 90b60894f2..53b58650ed 100644 --- a/lex/common.ml +++ b/lex/common.ml @@ -69,7 +69,7 @@ let copy_chars = | _ -> copy_chars_unix let copy_chunk sourcefile ic oc trl loc add_parens = - if loc.start_pos < loc.end_pos then begin + if loc.start_pos < loc.end_pos || add_parens then begin fprintf oc "# %d \"%s\"\n" loc.start_line sourcefile; if add_parens then begin for i = 1 to loc.start_col - 1 do output_char oc ' ' done; |