Remove dependencies, improve documentation.
This commit is contained in:
@@ -3,7 +3,7 @@ package ast
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/elliotchance/c2go/util"
|
||||
"git.wow.st/gmp/nswrap/util"
|
||||
)
|
||||
|
||||
// AllocSizeAttr is a type of attribute that is optionally attached to a variable
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/elliotchance/c2go/util"
|
||||
"git.wow.st/gmp/nswrap/util"
|
||||
)
|
||||
|
||||
func TestArrayFiller(t *testing.T) {
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/elliotchance/c2go/util"
|
||||
"git.wow.st/gmp/nswrap/util"
|
||||
)
|
||||
|
||||
var TrackPositions bool = false
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/elliotchance/c2go/util"
|
||||
"git.wow.st/gmp/nswrap/util"
|
||||
)
|
||||
|
||||
func formatMultiLine(o interface{}) string {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package ast
|
||||
|
||||
import (
|
||||
"github.com/elliotchance/c2go/util"
|
||||
"git.wow.st/gmp/nswrap/util"
|
||||
)
|
||||
|
||||
// CharacterLiteral is type of character literal
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package ast
|
||||
|
||||
import (
|
||||
"github.com/elliotchance/c2go/util"
|
||||
"git.wow.st/gmp/nswrap/util"
|
||||
)
|
||||
|
||||
// ConstantArrayType is constant array type
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
package ast
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"reflect"
|
||||
//"errors"
|
||||
//"fmt"
|
||||
//"reflect"
|
||||
|
||||
"github.com/elliotchance/c2go/cc"
|
||||
//"github.com/elliotchance/c2go/cc"
|
||||
)
|
||||
|
||||
// FloatingLiteral is type of float literal
|
||||
@@ -63,6 +63,7 @@ type FloatingLiteralError struct {
|
||||
Err error
|
||||
}
|
||||
|
||||
/* NOT USED
|
||||
// RepairFloatingLiteralsFromSource finds the exact values of floating literals
|
||||
// by reading their values directly from the preprocessed source.
|
||||
//
|
||||
@@ -111,4 +112,4 @@ func RepairFloatingLiteralsFromSource(rootNode Node, preprocessedFile string) []
|
||||
}
|
||||
|
||||
return errs
|
||||
}
|
||||
}*/
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package ast
|
||||
|
||||
import (
|
||||
"github.com/elliotchance/c2go/util"
|
||||
"git.wow.st/gmp/nswrap/util"
|
||||
)
|
||||
|
||||
// FormatAttr is a type of attribute that is optionally attached to a variable
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package ast
|
||||
|
||||
import "github.com/elliotchance/c2go/util"
|
||||
import "git.wow.st/gmp/nswrap/util"
|
||||
|
||||
// MaxFieldAlignmentAttr is a type of attribute that is optionally attached to a variable
|
||||
// or struct field definition.
|
||||
|
||||
@@ -3,7 +3,7 @@ package ast
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/elliotchance/c2go/util"
|
||||
"git.wow.st/gmp/nswrap/util"
|
||||
)
|
||||
|
||||
// NonNullAttr is a type of attribute that is optionally attached to a variable
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/elliotchance/c2go/util"
|
||||
"git.wow.st/gmp/nswrap/util"
|
||||
)
|
||||
|
||||
// Position is type of position in source code
|
||||
|
||||
@@ -3,7 +3,7 @@ package ast
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/elliotchance/c2go/util"
|
||||
"git.wow.st/gmp/nswrap/util"
|
||||
)
|
||||
|
||||
// SentinelAttr is a type of attribute that is optionally attached to a variable
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package ast
|
||||
|
||||
import (
|
||||
"github.com/elliotchance/c2go/util"
|
||||
"git.wow.st/gmp/nswrap/util"
|
||||
)
|
||||
|
||||
// VectorType is vector type
|
||||
|
||||
Reference in New Issue
Block a user