[283] in Kerberos_V5_Development
Patch to ISODE "posy" compiler.
wesommer@ATHENA.MIT.EDU (wesommer@ATHENA.MIT.EDU)
Thu Sep 13 14:45:59 1990
This patch appears to fix the problem I mentioned earlier with the
ISODE "posy" compiler; this needs to be applied to the copy in
/mit/isode (I've been doing the work on this up at apollo).
Someone should also report this to the ISODE developers..
*** posy.c.~2~ Tue Sep 11 16:19:13 1990
--- posy.c Thu Sep 13 14:18:38 1990
***************
*** 1334,1341 ****
switch (direction) {
case YP_DECODER:
printf ("\n%*s%%{ ", (level + 1) * 4, "");
! if (h2flag)
printf ("n_%s++;", top ? "parm" : yp -> yp_declexp);
else
if (top)
printf ("parm = &((*parm) -> next);");
--- 1334,1347 ----
switch (direction) {
case YP_DECODER:
printf ("\n%*s%%{ ", (level + 1) * 4, "");
! if (h2flag) {
!
printf ("n_%s++;", top ? "parm" : yp -> yp_declexp);
+
+ if ((yp -> yp_type) && (yp -> yp_type -> yp_declexp))
+ printf(" %s ++;", yp -> yp_type -> yp_declexp);
+
+ }
else
if (top)
printf ("parm = &((*parm) -> next);");