fixed bug when heredoc starts by \; removing \n from a heredoc value end

This commit is contained in:
z7zmey
2018-07-14 18:00:48 +03:00
parent 4da7b36056
commit 867095823d
11 changed files with 848 additions and 791 deletions

View File

@@ -16312,9 +16312,9 @@ CAD;
StartLine: 5,
EndLine: 5,
StartPos: 27,
EndPos: 33,
EndPos: 32,
},
Value: "\thello\n",
Value: "\thello",
},
},
},
@@ -16340,9 +16340,9 @@ CAD;
StartLine: 8,
EndLine: 8,
StartPos: 50,
EndPos: 56,
EndPos: 55,
},
Value: "\thello\n",
Value: "\thello",
},
},
},
@@ -16389,15 +16389,6 @@ CAD;
Value: "world",
},
},
&scalar.EncapsedStringPart{
Position: &position.Position{
StartLine: 11,
EndLine: 11,
StartPos: 86,
EndPos: 86,
},
Value: "\n",
},
},
},
},
@@ -16422,9 +16413,9 @@ CAD;
StartLine: 14,
EndLine: 14,
StartPos: 103,
EndPos: 116,
EndPos: 115,
},
Value: "\thello $world\n",
Value: "\thello $world",
},
},
},