Searched refs:lastline (Results 1 - 5 of 5) sorted by relevance

/ast/src/cmd/ksh93/include/
H A Dshlex.h41 int lastline; /* last line number */ member in struct:_shlex_
/ast/src/cmd/ie/
H A Dvi.c187 static genchar *lastline; variable
397 lastline = shbuf + (MAXLINE+MAXLINE)*sizeof(genchar);
399 if(lastline==0)
400 lastline = (genchar*)malloc(sizeof(genchar)*(MAXLINE));
2028 genncpy(lastline, (&virtual[first_virt]), i);
2029 lastline[i] = '\0';
2230 register genchar *p = lastline;
2242 /*** change p from lastline to yankbuf ***/
/ast/src/cmd/ksh93/edit/
H A Dvi.c108 genchar *lastline; member in struct:_vi_
238 vp->lastline = (genchar*)malloc(MAXLINE*CHARSIZE);
2161 genncpy(vp->lastline, (&virtual[first_virt]), i);
2162 vp->lastline[i] = '\0';
2391 register genchar *p = vp->lastline;
2400 /*** change p from lastline to yankbuf ***/
/ast/src/cmd/ksh93/sh/
H A Dparse.c71 #define sh_getlineno(lp) (lp->lastline)
1122 int savline = lexp->lastline;
1130 lexp->lastline = sh_getlineno(lexp);
1150 int saveline = lexp->lastline;
1164 lexp->lastline = saveline;
1372 lexp->lastline = savline;
H A Dlex.c382 lp->lastline = lp->sh->inlineno;
491 lp->lastline = c;
562 lp->lastline = shp->inlineno;
791 if(lp->lexd.warn && lp->lex.last_quote && shp->inlineno > lp->lastline && fcpeek(-2)!='$')
792 errormsg(SH_DICT,ERROR_warn(0),e_lexlongquote,lp->lastline,lp->lex.last_quote);
794 lp->lastline = shp->inlineno;
801 else if(shp->inlineno > lp->lastline)
834 if(lp->lexd.warn && lp->lex.last_quote && shp->inlineno > lp->lastline)
835 errormsg(SH_DICT,ERROR_warn(0),e_lexlongquote,lp->lastline,lp->lex.last_quote);
837 lp->lastline
[all...]

Completed in 29 milliseconds