Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
cznic
xc
Commits
d836784a
Commit
d836784a
authored
Nov 06, 2018
by
cznic
Browse files
Make modernc.org the repository root
parent
056465bb
Changes
5
Hide whitespace changes
Inline
Side-by-side
all_test.go
View file @
d836784a
...
...
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package
xc
package
xc
// import "modernc.org/xc"
import
(
"bytes"
...
...
@@ -14,7 +14,7 @@ import (
"strings"
"testing"
"
github.com/cznic
/mathutil"
"
modernc.org
/mathutil"
)
func
caller
(
s
string
,
va
...
interface
{})
{
...
...
db.go
View file @
d836784a
...
...
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package
xc
package
xc
// import "modernc.org/xc"
import
(
"encoding/binary"
"sync"
"
github.com/cznic
/mathutil"
"
modernc.org
/mathutil"
)
const
(
...
...
@@ -46,7 +46,7 @@ func (d *MemDB) Bytes(id int) []byte {
}
if
id
<
257
{
return
d
.
b256
[
id
-
1
:
id
:
id
]
return
d
.
b256
[
id
-
1
:
id
:
id
]
}
id
-=
257
...
...
@@ -72,7 +72,7 @@ func (d *MemDB) bytesUnlocked(id int) []byte {
}
if
id
<
257
{
return
d
.
b256
[
id
-
1
:
id
:
id
]
return
d
.
b256
[
id
-
1
:
id
:
id
]
}
id
-=
257
...
...
dict.go
View file @
d836784a
...
...
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package
xc
package
xc
// import "modernc.org/xc"
import
(
"bytes"
...
...
global.go
View file @
d836784a
...
...
@@ -3,7 +3,7 @@
// license that can be found in the LICENSE file.
// Package xc provides cross language compiler support/utility stuff.
package
xc
package
xc
// import "modernc.org/xc"
import
(
"fmt"
...
...
@@ -16,8 +16,8 @@ import (
"strings"
"sync"
"
github.com/cznic
/golex/lex"
"
github.com/cznic
/strutil"
"
modernc.org
/golex/lex"
"
modernc.org
/strutil"
)
var
(
...
...
lexer.go
View file @
d836784a
...
...
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package
xc
package
xc
// import "modernc.org/xc"
import
(
"go/token"
"
github.com/cznic
/golex/lex"
"
github.com/cznic
/strutil"
"
modernc.org
/golex/lex"
"
modernc.org
/strutil"
)
// Token describes a token.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment