mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 08:47:28 +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
@@ -12,7 +12,7 @@ import (
|
||||
t "github.com/google/puffs/lang/token"
|
||||
)
|
||||
|
||||
func ParseFile(src []t.Token, m *t.IDMap, filename string) (*a.Node, error) {
|
||||
func Parse(m *t.IDMap, filename string, src []t.Token) (*a.Node, error) {
|
||||
p := &parser{
|
||||
src: src,
|
||||
m: m,
|
||||
|
||||
Reference in new issue
Block a user