diff options
Diffstat (limited to 'src/eval_env.cc')
-rw-r--r-- | src/eval_env.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/eval_env.cc b/src/eval_env.cc index 8633f85..a5127d3 100644 --- a/src/eval_env.cc +++ b/src/eval_env.cc @@ -55,6 +55,9 @@ bool EvalString::Parse(const string& input, string* err, size_t* err_index) { } parsed_.push_back(make_pair(input.substr(start, end - start), SPECIAL)); ++end; + } else if (start < input.size() && input[start] == '$') { + parsed_.push_back(make_pair("$", RAW)); + end = start + 1; } else { for (end = start; end < input.size(); ++end) { char c = input[end]; |