diff options
author | Michael Schmidt <github@mschmidt.me> | 2018-09-14 13:55:02 +0200 |
---|---|---|
committer | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2018-09-14 13:55:02 +0200 |
commit | b55fa30ad44a647aca8ae8786da2d4cc1a881cd8 (patch) | |
tree | 9e6c5c59c18d7e4dc83ae123b9e568c63cc40f88 /cparser/Lexer.mll | |
parent | 4927777d089c56001098781f8923dd4292b148ad (diff) | |
download | compcert-b55fa30ad44a647aca8ae8786da2d4cc1a881cd8.tar.gz compcert-b55fa30ad44a647aca8ae8786da2d4cc1a881cd8.zip |
Improved diagnostics: spelling, wording, etc (#138)
* bug 24268: avoid assertion after reporting error for invalid call to builtin_debug
* bug 24268, remove duplicated warning tag in lexer messages
* bug 24268, fix spelling in array element designator message
* bug 24268, unify 'consider adding option ...' messages
* bug 24268, add spacing for icbi operands
* bug 24268, uniform use of Ignored_attributes class for identical warnings
* bug 24268, unify message for 'assignment to const type' to error from error/fatal error
* bug 24268, in handcrafted.messages, "a xxx have been recognized" -> "a xxx has been recognized"
Diffstat (limited to 'cparser/Lexer.mll')
-rw-r--r-- | cparser/Lexer.mll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cparser/Lexer.mll b/cparser/Lexer.mll index 357c6c50..b2a668f0 100644 --- a/cparser/Lexer.mll +++ b/cparser/Lexer.mll @@ -135,7 +135,7 @@ let error lb fmt = let warning lb fmt = Diagnostics.warning - (lb.lex_curr_p.pos_fname,lb.lex_curr_p.pos_lnum) Diagnostics.Unnamed ("warning: " ^^ fmt) + (lb.lex_curr_p.pos_fname,lb.lex_curr_p.pos_lnum) Diagnostics.Unnamed fmt (* Simple character escapes *) |