Skip to content
This repository was archived by the owner on Oct 16, 2022. It is now read-only.

Commit 7e5ea03

Browse files
committed
moved code
1 parent 29a80da commit 7e5ea03

16 files changed

+18
-18
lines changed

array.go renamed to parser/array.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package php
1+
package parser
22

33
import (
44
"github.com/stephens2424/php/ast"

array_test.go renamed to parser/array_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package php
1+
package parser
22

33
import (
44
"testing"

blocks.go renamed to parser/blocks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package php
1+
package parser
22

33
import (
44
"github.com/stephens2424/php/ast"

bulk_test.go renamed to parser/bulk_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package php
1+
package parser
22

33
import (
44
"io/ioutil"
@@ -8,7 +8,7 @@ import (
88
)
99

1010
func TestFiles(t *testing.T) {
11-
files, err := ioutil.ReadDir("testdata")
11+
files, err := ioutil.ReadDir("../testdata")
1212
if err != nil {
1313
t.Fatal(err)
1414
}
@@ -18,7 +18,7 @@ func TestFiles(t *testing.T) {
1818
if strings.HasPrefix(filename, ".") || !strings.HasSuffix(filename, ".php") {
1919
continue
2020
}
21-
src, err := ioutil.ReadFile(path.Join("testdata", filename))
21+
src, err := ioutil.ReadFile(path.Join("../testdata", filename))
2222
if err != nil {
2323
t.Error(err)
2424
continue

controlstructures.go renamed to parser/controlstructures.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package php
1+
package parser
22

33
import (
44
"github.com/stephens2424/php/ast"

expression.go renamed to parser/expression.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package php
1+
package parser
22

33
import (
44
"strings"

functions.go renamed to parser/functions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package php
1+
package parser
22

33
import (
44
"github.com/stephens2424/php/ast"

fuzz.go renamed to parser/fuzz.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package php
1+
package parser
22

33
import (
44
"bytes"

oop.go renamed to parser/oop.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package php
1+
package parser
22

33
import (
44
"github.com/stephens2424/php/ast"

oop_test.go renamed to parser/oop_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package php
1+
package parser
22

33
import (
44
"testing"

0 commit comments

Comments
 (0)