diff options
author | Daniel Kolesa <d.kolesa@samsung.com> | 2014-06-26 14:11:52 +0100 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@samsung.com> | 2014-06-30 17:20:39 +0100 |
commit | ec057a089a8c8e3d670bc4adb691feadc4e6e0bd (patch) | |
tree | 3db104fd1d28340a92d0e1f84a7bcb4f349a18d8 | |
parent | 4f4eba4fe424c8e3cbc3de11c0fd244cb870e089 (diff) | |
download | efl-ec057a089a8c8e3d670bc4adb691feadc4e6e0bd.tar.gz |
eolian: builtin fixed size integer types, floating point types and void
-rw-r--r-- | src/lib/eolian/eo_lexer.c | 9 | ||||
-rw-r--r-- | src/lib/eolian/eo_lexer.h | 9 |
2 files changed, 16 insertions, 2 deletions
diff --git a/src/lib/eolian/eo_lexer.c b/src/lib/eolian/eo_lexer.c index 575588987c..205e17f915 100644 --- a/src/lib/eolian/eo_lexer.c +++ b/src/lib/eolian/eo_lexer.c @@ -30,7 +30,14 @@ static const char * const ctypes[] = { "char", "unsigned char", "signed char", "short", "unsigned short", "int", "unsigned int", "long", "unsigned long", "long long", - "unsigned long long" + "unsigned long long", + + "int8_t", "uint8_t", "int16_t", "uint16_t", "int32_t", "uint32_t", + "int64_t", "uint64_t", "int128_t", "uint128_t", + + "float", "double", "long double", + + "void" }; #undef KW diff --git a/src/lib/eolian/eo_lexer.h b/src/lib/eolian/eo_lexer.h index 0b176d2560..ccb5d7fb3b 100644 --- a/src/lib/eolian/eo_lexer.h +++ b/src/lib/eolian/eo_lexer.h @@ -25,7 +25,14 @@ enum Tokens KWAT(warn_unused), \ \ KW(char), KW(uchar), KW(schar), KW(short), KW(ushort), KW(int), KW(uint), \ - KW(long), KW(ulong), KW(llong), KW(ullong) + KW(long), KW(ulong), KW(llong), KW(ullong), \ + \ + KW(int8), KW(uint8), KW(int16), KW(uint16), KW(int32), KW(uint32), \ + KW(int64), KW(uint64), KW(int128), KW(uint128), \ + \ + KW(float), KW(double), KW(ldouble), \ + \ + KW(void) #define KW(x) KW_##x #define KWAT(x) KW_at_##x |