Added the ? operator

This commit is contained in:
Pierre Pronchery 2008-03-02 16:17:08 +00:00
parent 03113b8cce
commit 901155df67
2 changed files with 2 additions and 0 deletions

View File

@ -76,6 +76,7 @@ typedef enum _CppCode
CPP_CODE_OPERATOR_OR,
CPP_CODE_OPERATOR_PEQUALS,
CPP_CODE_OPERATOR_PLUS,
CPP_CODE_OPERATOR_QUESTION,
CPP_CODE_OPERATOR_RBRACE,
CPP_CODE_OPERATOR_RBRACKET,
CPP_CODE_OPERATOR_RPAREN,

View File

@ -117,6 +117,7 @@ static const CppOperator _cpp_operators[] =
{ CPP_CODE_OPERATOR_DPLUS, "++" },
{ CPP_CODE_OPERATOR_PEQUALS, "+=" },
{ CPP_CODE_OPERATOR_PLUS, "+" },
{ CPP_CODE_OPERATOR_QUESTION, "?" },
{ CPP_CODE_OPERATOR_RBRACE, "}" },
{ CPP_CODE_OPERATOR_RBRACKET, "]" },
{ CPP_CODE_OPERATOR_RPAREN, ")" },