take-c-integer ( sequence-parser -- string/f )


Vocabulary
c.lexer

Inputs
sequence-parseran object


Outputs
string/fan object


Definition


: take-c-integer ( sequence-parser -- string/f )
[
dup take-integer [
swap {
"ull"
"uLL"
"Ull"
"ULL"
"ll"
"LL"
"l"
"L"
"u"
"U"
} take-longest [ append ] when*
] [ drop f ] if*
] with-sequence-parser ;