[erlang-bugs] Typo on leex:file/2 options

Tuncer Ayaz tuncer.ayaz@REDACTED
Wed Jul 15 10:49:07 CEST 2015


On Wed, Jul 15, 2015 at 5:59 AM, Leo Liu <sdl.web@REDACTED> wrote:
> The documentation in parsetools-2.1/doc/html/leex.html#file-2 says
> returning: {error, Warnings, Errors}, but the code seems to suggest
> {error, Errors, Warnings}.

Good catch :).

Actually, it's mentioned twice in the docs, and only one has the
incorrect order. Also, the same error exist in yecc docs.

https://github.com/erlang/otp/pull/792



More information about the erlang-bugs mailing list