diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-12-23 21:02:14 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-12-23 21:02:14 -0500 |
commit | e4ed126f9ff7c984a407a4aa1a73ff91fcea1058 (patch) | |
tree | 575b9d20df7d6cd041e58b3fb79ece8facb1731d /src/shell.pest | |
parent | ec91ed9cbbac192c7a8012b88b5db0c7e500a6f4 (diff) | |
download | nbsh-e4ed126f9ff7c984a407a4aa1a73ff91fcea1058.tar.gz nbsh-e4ed126f9ff7c984a407a4aa1a73ff91fcea1058.zip |
don't strip whitespace inside of strings
Diffstat (limited to 'src/shell.pest')
-rw-r--r-- | src/shell.pest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.pest b/src/shell.pest index 7744873..e61b5bd 100644 --- a/src/shell.pest +++ b/src/shell.pest @@ -6,7 +6,7 @@ bareword = @{ bareword_char+ } single_string = @{ single_string_char+ } double_string = @{ double_string_char+ } -word = { +word = ${ bareword | "'" ~ single_string ~ "'" | "\"" ~ double_string ~ "\"" |