diff --git a/parser/parser_test.go b/parser/parser_test.go index 3ec8c0e..24219db 100644 --- a/parser/parser_test.go +++ b/parser/parser_test.go @@ -44,8 +44,8 @@ func TestData (test *testing.T) { --- data wr integer:Int 3202 data wr mutInteger:Int:mut 3202 -data wr integerPointer:{Int} [& integer] -data wr mutIntegerPointer:{Int}:mut [& integer] +data wr integerPointer:{Int} +data wr mutIntegerPointer:{Int}:mut data wr integerArray16:{Int 16} data wr integerArrayVariable:{Int ...} data wr integerArrayInitialized:{Int 16} @@ -60,6 +60,8 @@ data wr integerArrayInitialized:{Int 16} 0 4785 92 +data wr integerPointerInit:{Int} [& integer] +data wr mutIntegerPointerInit:{Int}:mut [& integer] data wr object:Obj , this 324 , that 2139 diff --git a/tests/parser/data/main.arf b/tests/parser/data/main.arf index 3314221..fbcbf12 100644 --- a/tests/parser/data/main.arf +++ b/tests/parser/data/main.arf @@ -5,9 +5,9 @@ data wr integer:Int 3202 data wr mutInteger:Int:mut 3202 -data wr integerPointer:{Int} [& integer] +data wr integerPointer:{Int} -data wr mutIntegerPointer:{Int}:mut [& integer] +data wr mutIntegerPointer:{Int}:mut data wr integerArray16:{Int 16} @@ -16,6 +16,10 @@ data wr integerArrayVariable:{Int ...} data wr integerArrayInitialized:{Int 16} 3948 293 293049 948 912 340 0 2304 0 4785 92 + +data wr integerPointerInit:{Int} [& integer] + +data wr mutIntegerPointerInit:{Int}:mut [& integer] data wr object:Obj , this 324