Commit 46420dbc authored by POTTIER Francois's avatar POTTIER Francois
Browse files

Print startpos and endpos on distinct lines.

parent a5638949
open Lexing
let print nt startpos endpos =
Printf.printf "%s: startpos = %s/%03d, endpos = %s/%03d\n"
Printf.printf "%s: startpos = %s/%03d,\n%s: endpos = %s/%03d\n"
nt
startpos.pos_fname
startpos.pos_cnum
nt
endpos.pos_fname
endpos.pos_cnum
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment