Browse Source

lexical #6/19, express cp_ccom() property

rlar 14 years ago
parent
commit
ecb2eec279
  1. 2
      src/frontend/parser/lexical.c

2
src/frontend/parser/lexical.c

@ -247,6 +247,7 @@ gotchar:
} }
goto done; goto done;
} }
// cp_ccom doesn't mess wlist, read only access to wlist->wl_word
cp_ccom(wlist, buf, FALSE); cp_ccom(wlist, buf, FALSE);
wl_free(wlist); wl_free(wlist);
(void) fputc('\r', cp_out); (void) fputc('\r', cp_out);
@ -277,6 +278,7 @@ gotchar:
#else #else
fputc(linebuf[j], cp_out); /* But you can't edit */ fputc(linebuf[j], cp_out); /* But you can't edit */
#endif #endif
// cp_ccom doesn't mess wlist, read only access to wlist->wl_word
cp_ccom(wlist, buf, TRUE); cp_ccom(wlist, buf, TRUE);
wl_free(wlist); wl_free(wlist);
goto nloop; goto nloop;

Loading…
Cancel
Save