compiler: (WIP) Fixes for MinGW/GCC 5
[sdk] / compiler / libec / src / lexer.l
index 12fadae..6230fde 100644 (file)
@@ -102,6 +102,7 @@ default:
 "__signed__"         { return(SIGNED); }
 "sizeof"             { return(SIZEOF); }
 "__alignof__"        { return(ALIGNOF); }
+"__builtin_offsetof"        { return(BUILTIN_OFFSETOF); }
 "static"             { return(STATIC); }
 "__thread"           { return(THREAD); }
 "struct"             { return(STRUCT); }
@@ -131,6 +132,7 @@ default:
 "define"             { return(DEFINE); }
 "__int64"            { return(INT64); }
 "int64"              { return(INT64); }
+"__int128"           { return(INT128); }
 "__builtin_va_list"  { return(VALIST); }
 "__builtin_va_arg"   { return(VAARG); }
 "Bool"               { return(BOOL); }