This 2 patches series avoid to display error messages where the given position is 'builtin:0:0:'. A first case is caused when reaching the EOF and can be given the correct end-of-stream position. For the second case, these error messages are only issued after a previous error have been detected and properly reported, they deosn't point to the real problem and are now no more displayed. Luc Van Oostenryck (2): give a position to end-of-input avoid multiple error message after parsing error lib.c | 9 ++++++++- token.h | 1 + tokenize.c | 1 + validation/check_byte_count-ice.c | 4 ++-- validation/error-at-eof.c | 10 ++++++++++ 5 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 validation/error-at-eof.c -- 2.17.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html