projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* src/SDCC.y: enabled compilation of empty source file
[fw/sdcc]
/
support
/
Util
/
SDCCerr.c
diff --git
a/support/Util/SDCCerr.c
b/support/Util/SDCCerr.c
index 6839b417bde682f632b2dd0904050dd297c2dfc3..082400256f80cd2b4cffdba176a8aa1867518600 100644
(file)
--- a/
support/Util/SDCCerr.c
+++ b/
support/Util/SDCCerr.c
@@
-432,6
+432,8
@@
struct
"flexible array member not at end of struct" },
{ E_FLEXARRAY_INEMPTYSTRCT, ERROR_LEVEL_ERROR,
"flexible array in otherwise empty struct" },
+{ W_EMPTY_SOURCE_FILE, ERROR_LEVEL_WARNING,
+ "ISO C forbids an empty source file" },
};
/*