|
@@ -312,7 +312,8 @@ static DataType cCallFunction(const char* name) {
|
|
|
|
|
|
static void cStore(DataType left, DataType right, const char* name) {
|
|
static void cStore(DataType left, DataType right, const char* name) {
|
|
if(dtIsPointer(left)) {
|
|
if(dtIsPointer(left)) {
|
|
- if(!dtNullCompare(left, right)) {
|
|
|
|
|
|
+ if(!dtNullCompare(left, right) &&
|
|
|
|
+ !dtNullCompare(left, dtConst(right))) {
|
|
cInvalidOperation(left, right, name);
|
|
cInvalidOperation(left, right, name);
|
|
}
|
|
}
|
|
cAddOperation(OP_STORE_POINTER);
|
|
cAddOperation(OP_STORE_POINTER);
|