diff options
author | sin-ack <sin-ack@users.noreply.github.com> | 2021-08-11 21:40:26 +0000 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2021-08-13 01:20:35 +0430 |
commit | 4c6a97e757ab32e750b94d7c7880c44624fa310a (patch) | |
tree | 98039945f5ae70386b2c97d1b55326fa9f818e18 /Userland/Shell/Job.cpp | |
parent | c419b1ade6f4fb1e58e3eba814823433eee0448f (diff) | |
download | serenity-4c6a97e757ab32e750b94d7c7880c44624fa310a.zip |
Shell: Make caller specify the string parsing end condition
Heredocs have a different parse end condition than double-quoted
strings. parse_doublequoted_string_inner would assume that a string
would always end in a double quote, so let's generalize it to
parse_string_inner and have it take a StringEndCondition enum which
specifies how the string terminates.
Diffstat (limited to 'Userland/Shell/Job.cpp')
0 files changed, 0 insertions, 0 deletions