From 00d71f13f67b8b29b52ccae867a91710f3b1ad4d Mon Sep 17 00:00:00 2001 From: Brian Koropoff Date: Mon, 17 Feb 2003 08:55:40 +0000 Subject: [PATCH] Make %var expansion actually work. --- libs/gib/gib_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gib/gib_parse.c b/libs/gib/gib_parse.c index 102da6fb9..8b6282ee5 100644 --- a/libs/gib/gib_parse.c +++ b/libs/gib/gib_parse.c @@ -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