DUH! how about this time we make the generate code do something useful. sorry about this.

This commit is contained in:
dougt%netscape.com 2001-05-18 07:00:02 +00:00
Родитель 201736a175
Коммит 8afbdc2689
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -417,7 +417,7 @@ interface(TreeState *state)
case IDLN_OP_DCL:
write_indent(state->file);
write_method_signature(data, state->file, AS_DECL, NULL);
fputs(" { return !_to ? return NS_ERROR_NULL_POINTER : _to ## ", state->file);
fputs(" { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> ", state->file);
write_method_signature(data, state->file, AS_CALL, NULL);
break;
@ -425,7 +425,7 @@ interface(TreeState *state)
write_indent(state->file);
if (!write_attr_accessor(data, state->file, TRUE, AS_DECL, NULL))
FAIL;
fputs(" { return !_to ? return NS_ERROR_NULL_POINTER : _to ## ", state->file);
fputs(" { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->", state->file);
if (!write_attr_accessor(data, state->file, TRUE, AS_CALL, NULL))
FAIL;
if (!IDL_ATTR_DCL(data).f_readonly) {
@ -434,7 +434,7 @@ interface(TreeState *state)
if (!write_attr_accessor(data, state->file,
FALSE, AS_DECL, NULL))
FAIL;
fputs(" { return !_to ? return NS_ERROR_NULL_POINTER : _to ## ", state->file);
fputs(" { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->", state->file);
if (!write_attr_accessor(data, state->file,
FALSE, AS_CALL, NULL))
FAIL;