This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The error messages would appear with token names 'CPP_STRING_USERDEF', etc. This is very cryptic for the user.This patch just catches user-defined literal tokens in c-family/c-common.c/c_parse_error() and inserts useful phrases in the error messages.
Built and tested on x86-64-linux. OK? Ed
Attachment:
CL_errmsg
Description: Text document
Attachment:
patch_errmsg
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |