Closed Niols closed 5 years ago
The following:
heredoc="${arg#<<?}"
is parsed as (here is a part of the JSON):
[ "CmdPrefix_AssignmentWord", [ [ "Name", "heredoc" ], [ "Word", "\"${arg#<<}?}\"", [ [ "WordDoubleQuoted", [ "Word", "${arg#<<}?}", [ [ "WordVariable", [ "VariableAtom", "arg", [ "RemoveSmallestPrefixPattern", [ "Word", "<<", [ [ "WordLiteral", "<<" ] ] ] ] ] ], [ "WordLiteral", "?}" ] ] ] ] ] ] ] ]
which is rather weird.
Fixed by 8683140
The following:
is parsed as (here is a part of the JSON):
which is rather weird.