ports/java/jlint/files/patch-method__desc.cc
Baptiste Daroussin ed3aa7042b Actually add the patch
Reported by:	antoine
2017-02-11 21:28:03 +00:00

20 lines
644 B
C++

--- method_desc.cc.orig 2003-06-09 09:29:14 UTC
+++ method_desc.cc
@@ -767,7 +767,7 @@ void method_desc::parse_code(constant**
sp->mask = var_desc::vs_not_null;
}
sp->index = NO_ASSOC_VAR;
- sp->equals = is_const;
+ sp->equals = jlint_is_const;
sp += 1;
}
break;
@@ -2381,7 +2381,7 @@ void method_desc::parse_code(constant**
aux->name_and_type = nt;
sp->equals = aux;
equal_descs.push_back(aux);*/
- sp->equals = is_const;
+ sp->equals = jlint_is_const;
}
}
field->equals = sp->equals;