Skip to content

Commit

Permalink
Fix #89.
Browse files Browse the repository at this point in the history
  • Loading branch information
yurug committed Mar 27, 2019
1 parent ae44c87 commit 38810d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hereDocument.ml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ end = struct
| (WordLiteral s | WordName s) :: w ->
let s = Str.(global_replace (regexp "\\") "" s) in
s ^ unquote w
| WordVariable (VariableAtom (s, NoAttribute)) :: w ->
"$" ^ s ^ unquote w
| _ ->
failwith "Unsupported expansion in here document delimiter"
in
Expand Down

0 comments on commit 38810d5

Please sign in to comment.