Some changes in the way, types and type strings are handled.
Check for and honour const in several places: Assignment to const is flagged with an error. Const data is placed in the rodata segment. git-svn-id: svn://svn.cc65.org/cc65/trunk@252 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -135,6 +135,7 @@ static char* ErrMsg [ERR_COUNT-1] = {
|
||||
"Illegal hex digit",
|
||||
"Illegal character constant",
|
||||
"Illegal modifier",
|
||||
"Illegal type qualifier",
|
||||
"Illegal storage class",
|
||||
"Illegal segment name: `%s'",
|
||||
"Division by zero",
|
||||
@@ -150,6 +151,8 @@ static char* ErrMsg [ERR_COUNT-1] = {
|
||||
"__fastcall__ is not allowed for C functions",
|
||||
"Variable has unknown size",
|
||||
"Unknown identifier: `%s'",
|
||||
"Duplicate qualifier: `%s'",
|
||||
"Assignment to const",
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user