diff options
Diffstat (limited to 'src/fspec')
-rw-r--r-- | src/fspec/lexer.rl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fspec/lexer.rl b/src/fspec/lexer.rl index 81390e2..8fdc960 100644 --- a/src/fspec/lexer.rl +++ b/src/fspec/lexer.rl @@ -535,7 +535,7 @@ state_finish_declaration(struct state *state, const enum fspec_declaration decl) dec = [\-+]? <: (([1-9] <: digit*) | '0'); valid = ^cntrl; comment = '//' <: valid* :>> newline; - type = ('u8' | 's8') %r8 | ('u16' | 's16') %r16 | ('u32' | 's32') %r32 | ('u64' | 's32') %r64; + type = ('u8' | 's8') %r8 | ('u16' | 's16') %r16 | ('u32' | 's32') %r32 | ('u64' | 's64') %r64; visual = 'nul' %vnul | 'dec' %vdec | 'hex' %vhex | 'str' %vstr; reserved = 'struct' | type | visual; name = ((alpha | '_') <: (alnum | '_')*) - reserved; |