mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-05-02 16:31:29 +02:00
Merged dmdfe 2.031.
This commit is contained in:
@@ -853,9 +853,13 @@ Expression *Identity(enum TOK op, Type *type, Expression *e1, Expression *e2)
|
||||
Loc loc = e1->loc;
|
||||
int cmp;
|
||||
|
||||
if (e1->op == TOKnull && e2->op == TOKnull)
|
||||
if (e1->op == TOKnull)
|
||||
{
|
||||
cmp = 1;
|
||||
cmp = (e2->op == TOKnull);
|
||||
}
|
||||
else if (e2->op == TOKnull)
|
||||
{
|
||||
cmp = 0;
|
||||
}
|
||||
else if (e1->op == TOKsymoff && e2->op == TOKsymoff)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user