remember input string in result
This commit is contained in:
parent
29336c8a7a
commit
5173c86ded
@ -80,7 +80,7 @@ func Run(parser Parserish, input string, ws ...VoidParser) (result interface{},
|
||||
ps.WS = ws[0]
|
||||
}
|
||||
|
||||
ret := Result{}
|
||||
ret := Result{Input: input}
|
||||
p(ps, &ret)
|
||||
ps.WS(ps)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user