diff options
Diffstat (limited to 'libbuild2/script/script.cxx')
-rw-r--r-- | libbuild2/script/script.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/script/script.cxx b/libbuild2/script/script.cxx index eb63e53..c9b3a5e 100644 --- a/libbuild2/script/script.cxx +++ b/libbuild2/script/script.cxx @@ -163,7 +163,7 @@ namespace build2 // if (t.type == token_type::word && qtok != '\'' && - prev_tt != token_type::dollar) + (!prev_tt || *prev_tt != token_type::dollar)) { for (char c: t.value) { |