[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
librewrite's rc_continue label
Hi,
I just grabbed a copy of cvs developement tree and tried it
on solaris 2.7. This is not really an openldap bug but sun's
compiler bug but I thought should put it in just so someone
else won't get stuck.
in librewrite/context.c line #401
rc_continue: /* sent here by actions that require to continue */
}
It seems that Sun's compiler can't parse that correctly,
Here is a small example,
int main()
{
int i;
for(i=0;i<10;i++) {
goto alabel;
alabel:
}
return 0;
}
and compiler complains
"t.c", line 8: syntax error before or at: }
"t.c", line 10: warning: end-of-loop code not reached
"t.c", line 14: syntax error before or at: <EOF>
There is a typo in librewrite/rewrite-int.h,
//#define REWRITE_SUBMATCH_ESCAPE '\\'
^^
There are 2 typos in librewrite/rule.c (line#272, 283)
// charray_free( res );
^^
There is a typo in librewrite/rewrite.c line#77
mei