mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-01-18 03:29:49 +00:00
Allow "restrict" in pointer declarators.
Valid uses of "restrict" should now be permitted, but invalid uses do not necessarily give errors (and it is not used for any kind of optimization).
This commit is contained in:
parent
b4232fd4ea
commit
d10478967f
@ -1289,6 +1289,8 @@ var
|
||||
cpList^.isConstant := true
|
||||
else if token.kind = volatilesy then
|
||||
volatile := true
|
||||
else if token.kind = restrictsy then
|
||||
{always allowed for now (not recorded as part of the type)}
|
||||
else
|
||||
Error(9);
|
||||
NextToken;
|
||||
|
Loading…
x
Reference in New Issue
Block a user