1 Backported fix from ckdaily snapshot to fix parsing of if/else constructs
3 --- ckermit-211.orig/ckuus6.c
4 +++ ckermit-211/ckuus6.c
6 if (!iftest[cmdlvl]) { /* If IF was false do ELSE part */
7 if (maclvl > -1 || tlevel > -1) { /* In macro or command file */
8 debug(F100,"doelse pushing","",0);
11 pushcmd(NULL); /* save rest of command. */
13 /* This fixes certain obscure problems */
14 --- ckermit-211.orig/ckuusr.c
15 +++ ckermit-211/ckuusr.c
19 debug(F111,"XXMACRO A",line,k);
20 - /* Defer evaluation of variables until the commands are exec'd */
21 - if ((y = cmtxt("Braced list of commands","",&s,NULL)) < 0)
22 + if ((y = cmtxt("Braced list of commands","",&s,xxstring)) < 0)
24 k = ckstrncpy(line+k,s,LINBUFSIZ-k);
25 debug(F111,"XXMACRO B",line,k);