Add fixes for parsing of inplace vectors with newlines
from jespada
This commit is contained in:
@@ -3,6 +3,7 @@ assert_equal(3, x.size())
|
||||
|
||||
|
||||
|
||||
|
||||
// Make sure vector elements are copied into place for consistency with
|
||||
// map inplace construction
|
||||
var i = 1;
|
||||
@@ -12,3 +13,9 @@ assert_equal(1, y[0]);
|
||||
i = 3;
|
||||
assert_equal(3, i);
|
||||
assert_equal(1, y[0]);
|
||||
|
||||
|
||||
// make sure initialization with a break in the middle works as expected
|
||||
var a = [0.0,0.0,
|
||||
1.0,1.0]
|
||||
|
||||
|
Reference in New Issue
Block a user