Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -2792,6 +2792,8 @@ Objects *Parser::parseTemplateSingleArgument()
case TOKuns32v:
case TOKint64v:
case TOKuns64v:
case TOKint128v:
case TOKuns128v:
case TOKfloat32v:
case TOKfloat64v:
case TOKfloat80v:
Expand Down Expand Up @@ -4482,6 +4484,8 @@ Statement *Parser::parseStatement(int flags, const utf8_t** endPtr, Loc *pEndloc
case TOKuns32v:
case TOKint64v:
case TOKuns64v:
case TOKint128v:
case TOKuns128v:
case TOKfloat32v:
case TOKfloat64v:
case TOKfloat80v:
Expand Down Expand Up @@ -5676,6 +5680,8 @@ bool Parser::isBasicType(Token **pt)
case TOKuns32v:
case TOKint64v:
case TOKuns64v:
case TOKint128v:
case TOKuns128v:
case TOKfloat32v:
case TOKfloat64v:
case TOKfloat80v:
Expand Down Expand Up @@ -7129,6 +7135,8 @@ Expression *Parser::parseUnaryExp()
case TOKuns32v:
case TOKint64v:
case TOKuns64v:
case TOKint128v:
case TOKuns128v:
case TOKfloat32v:
case TOKfloat64v:
case TOKfloat80v:
Expand Down
3 changes: 2 additions & 1 deletion src/tokens.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ enum TOK
// Numeric literals
TOKint32v, TOKuns32v,
TOKint64v, TOKuns64v,
TOKint128v, TOKuns128v,
TOKfloat32v, TOKfloat64v, TOKfloat80v,
TOKimaginary32v, TOKimaginary64v, TOKimaginary80v,

Expand All @@ -131,7 +132,7 @@ enum TOK
TOKcomplex32, TOKcomplex64, TOKcomplex80,
TOKchar, TOKwchar, TOKdchar, TOKbool,

// 157
// 159
// Aggregates
TOKstruct, TOKclass, TOKinterface, TOKunion, TOKenum, TOKimport,
TOKtypedef, TOKalias, TOKoverride, TOKdelegate, TOKfunction,
Expand Down