Closed trofi closed 8 years ago
The change fixes lexer generation failure for GHC lexer. GHC lexer is special because it calls alexScanUser to thread lexer state.
alexScanUser
Added minimal test tokens_scan_user.x to cover alexScanUser use.
tokens_scan_user.x
Signature was reintroduced in commit 00431304aa18ada0a12aab43443023a86521f353 accidentally.
Fixes https://github.com/simonmar/alex/issues/98
Signed-off-by: Sergei Trofimovich siarheit@google.com
LGTM! :+1:
@simonmar This fix and mine from last week suggest we need a 3.2.1 release.
Thankyou!
The change fixes lexer generation failure for GHC lexer. GHC lexer is special because it calls
alexScanUser
to thread lexer state.Added minimal test
tokens_scan_user.x
to coveralexScanUser
use.Signature was reintroduced in commit 00431304aa18ada0a12aab43443023a86521f353 accidentally.
Fixes https://github.com/simonmar/alex/issues/98
Signed-off-by: Sergei Trofimovich siarheit@google.com