diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/cmake-parser.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cmake-parser.awk b/tools/cmake-parser.awk index 43c5f2c..23329de 100644 --- a/tools/cmake-parser.awk +++ b/tools/cmake-parser.awk @@ -75,7 +75,7 @@ function line_ending() { # it doesn't seem to be worth the effort. function expand(s, v) { v = s - while (match(v, /\\*[$](|ENV|CACHE)[{]/)) { + while (match(v, /\\*[$](ENV|CACHE)?[{]/)) { if (index(substr(v, RSTART), "$") % 2 != 0) { warning("variable expansion is not supported: " s) return s |