summaryrefslogtreecommitdiff
path: root/src/fspec
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2017-08-15 23:06:17 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2017-08-15 23:06:17 +0300
commitbc4175f3125c2eb2066d752c7193920af8f5abb8 (patch)
tree386d33fe11dd3d4bb1c71f17a63ce1f88a11510c /src/fspec
parent1ec7a92679211417cf5d59c2342e160ed112d3e8 (diff)
s/s32/s64/
Diffstat (limited to 'src/fspec')
-rw-r--r--src/fspec/lexer.rl2
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;