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:
parent
dd3a749ce9
commit
59dd1491c6
8 changed files with 25 additions and 14 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue