diff --git a/BUILD.bazel b/BUILD.bazel index 6b3b6de..a1a2fad 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -173,7 +173,7 @@ haskell_library( ), src_strip_prefix = "src", tags = ["no-cross"], - version = "0.0.22", + version = "0.0.23", visibility = ["//visibility:public"], deps = [ ":ast", diff --git a/cimple.cabal b/cimple.cabal index 488da11..9d2eede 100644 --- a/cimple.cabal +++ b/cimple.cabal @@ -1,5 +1,5 @@ name: cimple -version: 0.0.22 +version: 0.0.23 synopsis: Simple C-like programming language homepage: https://toktok.github.io/ license: GPL-3 diff --git a/src/Language/Cimple/Lexer.x b/src/Language/Cimple/Lexer.x index 28994c3..5e7949b 100644 --- a/src/Language/Cimple/Lexer.x +++ b/src/Language/Cimple/Lexer.x @@ -200,7 +200,7 @@ tokens :- <0,ppSC> [A-Z][A-Z0-9_]{1,2} { mkL IdSueType } <0,ppSC> _*[A-Z][A-Z0-9_]* { mkL IdConst } <0,ppSC> [A-Z][A-Za-z0-9_]*[a-z][A-Za-z0-9_]* { mkL IdSueType } -<0,ppSC> "cmp_"[a-z][a-z0-9_]*_[stu] { mkL IdSueType } +<0,ppSC> "cmp_"[a-z][a-z0-9_]*_[suet] { mkL IdSueType } <0,ppSC> [a-z][a-z0-9_]*_t { mkL IdStdType } <0,ppSC> [a-z][a-z0-9_]*_cb { mkL IdFuncType } <0,ppSC> "cmp_"("reader"|"writer"|"skipper") { mkL IdFuncType }