[erlang-bugs] erl_pp bug in r11b-2?

Hans Bolinder hans.bolinder@REDACTED
Fri Nov 24 09:10:40 CET 2006


[Ulf Wiger:]
> After some tracing, I decided that the bug seems to be in erl_pp.erl.

Thanks for taking the time to investigate this problem.

The bug has been fixed in patch erl_891_otp_beam.

What follows is a diff for those who haven't got access to the
Erlang/OTP Licensees' Area:


*** stdlib/src/erl_pp.erl	Mon Nov  6 14:52:04 2006
--- erl_pp.erl	Tue Nov 14 15:27:43 2006
***************
*** 81,87 ****
      exprs(Es, 0, Hook).
  
  exprs(Es, I, Hook) ->
!     map(fun(Item) -> frmt(Item, I) end, lexprs(Es, Hook)).
  
  expr(E) ->
      frmt(lexpr(E, 0, none)).
--- 81,87 ----
      exprs(Es, 0, Hook).
  
  exprs(Es, I, Hook) ->
!     frmt({seq,[],[],[$,],lexprs(Es, Hook)}, I).
  
  expr(E) ->
      frmt(lexpr(E, 0, none)).


Best regards,

Hans Bolinder, Erlang/OTP



More information about the erlang-bugs mailing list