fixed bug when heredoc starts by \; removing \n from a heredoc value end
This commit is contained in:
@@ -70,15 +70,6 @@ LBL;
|
||||
Value: "var",
|
||||
},
|
||||
},
|
||||
&scalar.EncapsedStringPart{
|
||||
Position: &position.Position{
|
||||
StartLine: 2,
|
||||
EndLine: 2,
|
||||
StartPos: 20,
|
||||
EndPos: 20,
|
||||
},
|
||||
Value: "\n",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -152,15 +143,6 @@ LBL;
|
||||
Value: "var",
|
||||
},
|
||||
},
|
||||
&scalar.EncapsedStringPart{
|
||||
Position: &position.Position{
|
||||
StartLine: 2,
|
||||
EndLine: 2,
|
||||
StartPos: 22,
|
||||
EndPos: 22,
|
||||
},
|
||||
Value: "\n",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -213,9 +195,9 @@ LBL;
|
||||
StartLine: 2,
|
||||
EndLine: 2,
|
||||
StartPos: 13,
|
||||
EndPos: 22,
|
||||
EndPos: 21,
|
||||
},
|
||||
Value: "test $var\n",
|
||||
Value: "test $var",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -313,9 +295,9 @@ CAD;
|
||||
StartLine: 2,
|
||||
EndLine: 2,
|
||||
StartPos: 11,
|
||||
EndPos: 17,
|
||||
EndPos: 16,
|
||||
},
|
||||
Value: "\thello\n",
|
||||
Value: "\thello",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user