Skip to content

Commit

Permalink
Merge branch 'master' into version_1_9
Browse files Browse the repository at this point in the history
  • Loading branch information
NotFound committed Jun 9, 2012
2 parents c193888 + 52b7b15 commit 3afe2cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions winxedst2.winxed
Expand Up @@ -620,6 +620,8 @@ function getheredoc(var tk, string start, int linenum)
switch (c) {
case "":
UnterminatedHeredoc(tk, linenum);
case "\r":
break; // Quick fix for windows line-ending text files
case "\"":
case "\\":
// Encode the mark the same way as the heredoc content
Expand All @@ -639,6 +641,8 @@ function getheredoc(var tk, string start, int linenum)
switch (c) {
case "":
UnterminatedHeredoc(tk, linenum);
case "\r":
break; // Quick fix for windows line-ending text files
case "\"":
case "\\":
c = "\\" + c;
Expand Down

0 comments on commit 3afe2cb

Please sign in to comment.