add file trace to parser, refactor, fix inner type
This commit is contained in:
parent
bcf0978b68
commit
c8660a6471
10 changed files with 131 additions and 51 deletions
|
|
@ -1,4 +1,4 @@
|
|||
//go:build wasm && go1.23
|
||||
//go:build wasm && go1.24
|
||||
|
||||
package main
|
||||
|
||||
|
|
@ -58,7 +58,7 @@ func run(_ js.Value, args []js.Value) interface{} {
|
|||
|
||||
log.Printf("got tokens: %v", tokens)
|
||||
|
||||
parser := core.NewParser(source, tokens)
|
||||
parser := core.NewParser(source, []string{}, tokens)
|
||||
|
||||
tree, err := parser.Parse(source)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue