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}. Leo