tokenizer: hide flex-based impl, avoid build failures on win

TestPlan:
 - go test -run TestTokenize ./internal/tokenizer
 - go test -tags flex -run TestTokenize ./internal/tokenizer
   (shold fail as default fixtures are from regex-based tokenizer)
This commit is contained in:
Alexander Bezzubov
2020-03-19 19:58:48 +01:00
parent 1ab8148c10
commit 78d8f43a88
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,5 @@
// +build flex
package flex
// #include <stdlib.h>