mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 13:09:22 +00:00
Separate the KeywordExt from the list node that points to it.
This commit is contained in:
@@ -299,7 +299,7 @@ parse_line (const char *line, const char *delimiters)
|
||||
}
|
||||
lp++;
|
||||
}
|
||||
return new KeywordExt_List (key, kp - key, option[TYPE] ? lp : "");
|
||||
return new KeywordExt_List (new KeywordExt (key, kp - key, option[TYPE] ? lp : ""));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -312,7 +312,7 @@ parse_line (const char *line, const char *delimiters)
|
||||
else
|
||||
/* Skip the first delimiter. */
|
||||
rest = &line[len + 1];
|
||||
return new KeywordExt_List (line, len, option[TYPE] ? rest : "");
|
||||
return new KeywordExt_List (new KeywordExt (line, len, option[TYPE] ? rest : ""));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user