Make %var expansion actually work.

This commit is contained in:
Brian Koropoff 2003-02-17 08:55:40 +00:00
parent 7eb2e42a3c
commit 00d71f13f6

View file

@ -320,7 +320,7 @@ GIB_Parse_Tokens (const char *program, unsigned int *i, unsigned int pofs,
}
// Check for array splitting
// Concatenating this onto something else is non-sensical
if (cur->delim == ' ' && str[0] == '@' && !cat) {
if (cur->delim == ' ' && (str[0] == '@' || str[0] == '%') && !cat) {
cur->flags |= TREE_SPLIT;
}
// We can handle escape characters now