1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-10 12:40:58 +02:00

*** empty log message ***

This commit is contained in:
Sven Wischnowsky 2001-01-22 12:03:55 +00:00
parent d36dbe2337
commit bdaa4f4c05
2 changed files with 4 additions and 5 deletions

View file

@ -165,7 +165,7 @@ static char *
cline_str(Cline l, int ins, int *csp, LinkList posl) cline_str(Cline l, int ins, int *csp, LinkList posl)
{ {
Cline s; Cline s;
int ocs = cs, ncs, pcs, scs, opos, npos; int ocs = cs, ncs, pcs, scs, opos = -1, npos;
int pm, pmax, pmm, pma, sm, smax, smm, sma, d, dm, mid; int pm, pmax, pmm, pma, sm, smax, smm, sma, d, dm, mid;
int i, j, li = 0, cbr, padd = (ins ? wb - ocs : -ocs); int i, j, li = 0, cbr, padd = (ins ? wb - ocs : -ocs);
Brinfo brp, brs; Brinfo brp, brs;

View file

@ -83,9 +83,8 @@ struct heredocs *hdocs;
/* /*
* Word code. * Word code.
* *
* For now we simply post-process the syntax tree produced by the * The parser now produces word code, reducing memory consumption compared
* parser. We compile it into a struct eprog. Some day the parser * to the nested structs we had before.
* above should be changed to emit the word code directly.
* *
* Word code layout: * Word code layout:
* *
@ -157,7 +156,7 @@ struct heredocs *hdocs;
* - followed by body * - followed by body
* *
* WC_WHILE * WC_WHILE
* - data contains type (while, until) and ofsset to after body * - data contains type (while, until) and offset to after body
* - followed by condition * - followed by condition
* - followed by body * - followed by body
* *