projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Extended the semantics of the critical keyword to include
[fw/sdcc]
/
support
/
Util
/
SDCCerr.c
diff --git
a/support/Util/SDCCerr.c
b/support/Util/SDCCerr.c
index af987ae31b3eed4f67f67bdd3239f61e1331dd99..0770abd44d27eca9f6d9141445ddcc8a022635f7 100644
(file)
--- a/
support/Util/SDCCerr.c
+++ b/
support/Util/SDCCerr.c
@@
-397,6
+397,8
@@
struct
"function attribute following non-function declaration"},
{ W_SAVE_RESTORE, ERROR_LEVEL_PEDANTIC,
"unmatched #pragma SAVE and #pragma RESTORE" },
+{ E_INVALID_CRITICAL, ERROR_LEVEL_ERROR,
+ "not allowed in a critical section" },
};
/*