mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 16:52:18 +01:00
Rename ParseFile, RenderFile to Parse, Render.
Also make various funcs' arg order consist wrt the IDMap and the input or inputs.
This commit is contained in:
1 parent
3a6ccbae67
commit
54567dbd47
6 files changed
+13
-13
No files matched your search
+1
-1
@@ -99,7 +99,7 @@ func hasPrefix(a []byte, s string) bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func Tokenize(src []byte, m *IDMap, filename string) (tokens []Token, comments []string, retErr error) {
|
||||
func Tokenize(m *IDMap, filename string, src []byte) (tokens []Token, comments []string, retErr error) {
|
||||
line := uint32(1)
|
||||
loop:
|
||||
for i := 0; i < len(src); {
|
||||
|
||||
Reference in new issue
Block a user