Skip to content

Commit

Permalink
适配emptytoken移除
Browse files Browse the repository at this point in the history
  • Loading branch information
davyxu committed Dec 13, 2021
1 parent b132d96 commit 04aabac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/golang/text_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func selectAction(self *ulexer.Lexer, mlist []ulexer.Matcher, alist []MatchActio
for index, m := range mlist {
tk := self.Read(m)

if tk != ulexer.EmptyToken {
if tk != nil {

action := alist[index]
if action != nil {
Expand Down

0 comments on commit 04aabac

Please sign in to comment.