1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-23 01:31:27 +01:00

users/13295, tweaked: dont reset line numbers when parsing strings, sometimes

This commit is contained in:
Peter Stephenson 2008-09-29 08:46:21 +00:00
parent dd3a749ce9
commit 59dd1491c6
8 changed files with 25 additions and 14 deletions

View file

@ -2831,7 +2831,7 @@ build_dump(char *nam, char *dump, char **files, int ali, int map, int flags)
close(fd);
file = metafy(file, flen, META_REALLOC);
if (!(prog = parse_string(file)) || errflag) {
if (!(prog = parse_string(file, 1)) || errflag) {
errflag = 0;
close(dfd);
zfree(file, flen);