mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 06:32:10 +02:00
fix bug 192009, support for implicit int in C99 parser
This commit is contained in:
parent
45650ad06d
commit
81aa5dcb4d
3 changed files with 1537 additions and 1494 deletions
|
@ -91,7 +91,7 @@ public class UPCParser extends PrsStream implements RuleAction , IParserActionTo
|
|||
for (int i = 0; i < unimplemented_symbols.size(); i++)
|
||||
{
|
||||
Integer id = (Integer) unimplemented_symbols.get(i);
|
||||
System.out.println(" " + UPCParsersym.orderedTerminalSymbols[id.intValue()]);//$NON-NLS-1$
|
||||
System.out.println(" " + UPCParsersym.orderedTerminalSymbols[id.intValue()]);//$NON-NLS-1$
|
||||
}
|
||||
System.out.println();
|
||||
}
|
||||
|
@ -1422,7 +1422,7 @@ public List getRuleTokens() {
|
|||
//
|
||||
// Rule 291: function_definition ::= declaration_specifiers <openscope> function_declarator compound_statement
|
||||
//
|
||||
case 291: { action.beforeConsume(); action. consumeFunctionDefinition(); break;
|
||||
case 291: { action.beforeConsume(); action. consumeFunctionDefinition(true); break;
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -1432,285 +1432,291 @@ public List getRuleTokens() {
|
|||
}
|
||||
|
||||
//
|
||||
// Rule 295: constant ::= MYTHREAD
|
||||
// Rule 293: function_definition ::= function_declarator compound_statement
|
||||
//
|
||||
case 295: { action.beforeConsume(); action. consumeKeywordExpression(IUPCASTKeywordExpression.kw_mythread); break;
|
||||
case 293: { action.beforeConsume(); action. consumeFunctionDefinition(false); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 296: constant ::= THREADS
|
||||
// Rule 296: constant ::= MYTHREAD
|
||||
//
|
||||
case 296: { action.beforeConsume(); action. consumeKeywordExpression(IUPCASTKeywordExpression.kw_threads); break;
|
||||
case 296: { action.beforeConsume(); action. consumeKeywordExpression(IUPCASTKeywordExpression.kw_mythread); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 297: constant ::= UPC_MAX_BLOCKSIZE
|
||||
// Rule 297: constant ::= THREADS
|
||||
//
|
||||
case 297: { action.beforeConsume(); action. consumeKeywordExpression(IUPCASTKeywordExpression.kw_upc_max_block_size); break;
|
||||
case 297: { action.beforeConsume(); action. consumeKeywordExpression(IUPCASTKeywordExpression.kw_threads); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 298: unary_expression ::= upc_localsizeof unary_expression
|
||||
// Rule 298: constant ::= UPC_MAX_BLOCKSIZE
|
||||
//
|
||||
case 298: { action.beforeConsume(); action. consumeExpressionUpcSizeofOperator(IUPCASTSizeofExpression.op_upc_localsizeof); break;
|
||||
case 298: { action.beforeConsume(); action. consumeKeywordExpression(IUPCASTKeywordExpression.kw_upc_max_block_size); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 299: unary_expression ::= upc_localsizeof ( type_name )
|
||||
// Rule 299: unary_expression ::= upc_localsizeof unary_expression
|
||||
//
|
||||
case 299: { action.beforeConsume(); action. consumeExpressionUpcSizeofTypeName(IUPCASTSizeofExpression.op_upc_localsizeof); break;
|
||||
case 299: { action.beforeConsume(); action. consumeExpressionUpcSizeofOperator(IUPCASTSizeofExpression.op_upc_localsizeof); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 300: unary_expression ::= upc_blocksizeof unary_expression
|
||||
// Rule 300: unary_expression ::= upc_localsizeof ( type_name )
|
||||
//
|
||||
case 300: { action.beforeConsume(); action. consumeExpressionUpcSizeofOperator(IUPCASTSizeofExpression.op_upc_blocksizeof); break;
|
||||
case 300: { action.beforeConsume(); action. consumeExpressionUpcSizeofTypeName(IUPCASTSizeofExpression.op_upc_localsizeof); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 301: unary_expression ::= upc_blocksizeof ( type_name )
|
||||
// Rule 301: unary_expression ::= upc_blocksizeof unary_expression
|
||||
//
|
||||
case 301: { action.beforeConsume(); action. consumeExpressionUpcSizeofTypeName(IUPCASTSizeofExpression.op_upc_blocksizeof); break;
|
||||
case 301: { action.beforeConsume(); action. consumeExpressionUpcSizeofOperator(IUPCASTSizeofExpression.op_upc_blocksizeof); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 302: unary_expression ::= upc_elemsizeof unary_expression
|
||||
// Rule 302: unary_expression ::= upc_blocksizeof ( type_name )
|
||||
//
|
||||
case 302: { action.beforeConsume(); action. consumeExpressionUpcSizeofOperator(IUPCASTSizeofExpression.op_upc_elemsizeof); break;
|
||||
case 302: { action.beforeConsume(); action. consumeExpressionUpcSizeofTypeName(IUPCASTSizeofExpression.op_upc_blocksizeof); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 303: unary_expression ::= upc_elemsizeof ( type_name )
|
||||
// Rule 303: unary_expression ::= upc_elemsizeof unary_expression
|
||||
//
|
||||
case 303: { action.beforeConsume(); action. consumeExpressionUpcSizeofTypeName(IUPCASTSizeofExpression.op_upc_elemsizeof); break;
|
||||
case 303: { action.beforeConsume(); action. consumeExpressionUpcSizeofOperator(IUPCASTSizeofExpression.op_upc_elemsizeof); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 307: shared_type_qualifier ::= shared
|
||||
// Rule 304: unary_expression ::= upc_elemsizeof ( type_name )
|
||||
//
|
||||
case 307: { action.beforeConsume(); action. consumeToken(); break;
|
||||
case 304: { action.beforeConsume(); action. consumeExpressionUpcSizeofTypeName(IUPCASTSizeofExpression.op_upc_elemsizeof); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 308: reference_type_qualifier ::= relaxed
|
||||
// Rule 308: shared_type_qualifier ::= shared
|
||||
//
|
||||
case 308: { action.beforeConsume(); action. consumeToken(); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 309: reference_type_qualifier ::= strict
|
||||
// Rule 309: reference_type_qualifier ::= relaxed
|
||||
//
|
||||
case 309: { action.beforeConsume(); action. consumeToken(); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 310: layout_qualifier ::= [ constant_expression ]
|
||||
// Rule 310: reference_type_qualifier ::= strict
|
||||
//
|
||||
case 310: { action.beforeConsume(); action. consumeLayoutQualifier(true, false); break;
|
||||
case 310: { action.beforeConsume(); action. consumeToken(); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 311: layout_qualifier ::= [ * ]
|
||||
// Rule 311: layout_qualifier ::= [ constant_expression ]
|
||||
//
|
||||
case 311: { action.beforeConsume(); action. consumeLayoutQualifier(false, true); break;
|
||||
case 311: { action.beforeConsume(); action. consumeLayoutQualifier(true, false); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 312: layout_qualifier ::= [ ]
|
||||
// Rule 312: layout_qualifier ::= [ * ]
|
||||
//
|
||||
case 312: { action.beforeConsume(); action. consumeLayoutQualifier(false, false); break;
|
||||
case 312: { action.beforeConsume(); action. consumeLayoutQualifier(false, true); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 314: synchronization_statement ::= upc_notify expression ;
|
||||
// Rule 313: layout_qualifier ::= [ ]
|
||||
//
|
||||
case 314: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_notify, true); break;
|
||||
case 313: { action.beforeConsume(); action. consumeLayoutQualifier(false, false); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 315: synchronization_statement ::= upc_notify ;
|
||||
// Rule 315: synchronization_statement ::= upc_notify expression ;
|
||||
//
|
||||
case 315: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_notify, false); break;
|
||||
case 315: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_notify, true); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 316: synchronization_statement ::= upc_wait expression ;
|
||||
// Rule 316: synchronization_statement ::= upc_notify ;
|
||||
//
|
||||
case 316: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_wait, true); break;
|
||||
case 316: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_notify, false); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 317: synchronization_statement ::= upc_wait ;
|
||||
// Rule 317: synchronization_statement ::= upc_wait expression ;
|
||||
//
|
||||
case 317: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_wait, false); break;
|
||||
case 317: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_wait, true); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 318: synchronization_statement ::= upc_barrier expression ;
|
||||
// Rule 318: synchronization_statement ::= upc_wait ;
|
||||
//
|
||||
case 318: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_barrier, true); break;
|
||||
case 318: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_wait, false); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 319: synchronization_statement ::= upc_barrier ;
|
||||
// Rule 319: synchronization_statement ::= upc_barrier expression ;
|
||||
//
|
||||
case 319: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_barrier, false); break;
|
||||
case 319: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_barrier, true); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 320: synchronization_statement ::= upc_fence ;
|
||||
// Rule 320: synchronization_statement ::= upc_barrier ;
|
||||
//
|
||||
case 320: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_fence, false); break;
|
||||
case 320: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_barrier, false); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 321: iteration_statement ::= upc_forall ( expression ; expression ; expression ; affinity ) statement
|
||||
// Rule 321: synchronization_statement ::= upc_fence ;
|
||||
//
|
||||
case 321: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, true, true); break;
|
||||
case 321: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_fence, false); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 322: iteration_statement ::= upc_forall ( expression ; expression ; expression ; ) statement
|
||||
// Rule 322: iteration_statement ::= upc_forall ( expression ; expression ; expression ; affinity ) statement
|
||||
//
|
||||
case 322: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, true, false); break;
|
||||
case 322: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, true, true); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 323: iteration_statement ::= upc_forall ( expression ; expression ; ; affinity ) statement
|
||||
// Rule 323: iteration_statement ::= upc_forall ( expression ; expression ; expression ; ) statement
|
||||
//
|
||||
case 323: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, false, true); break;
|
||||
case 323: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, true, false); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 324: iteration_statement ::= upc_forall ( expression ; expression ; ; ) statement
|
||||
// Rule 324: iteration_statement ::= upc_forall ( expression ; expression ; ; affinity ) statement
|
||||
//
|
||||
case 324: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, false, false); break;
|
||||
case 324: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, false, true); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 325: iteration_statement ::= upc_forall ( expression ; ; expression ; affinity ) statement
|
||||
// Rule 325: iteration_statement ::= upc_forall ( expression ; expression ; ; ) statement
|
||||
//
|
||||
case 325: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, true, true); break;
|
||||
case 325: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, false, false); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 326: iteration_statement ::= upc_forall ( expression ; ; expression ; ) statement
|
||||
// Rule 326: iteration_statement ::= upc_forall ( expression ; ; expression ; affinity ) statement
|
||||
//
|
||||
case 326: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, true, false); break;
|
||||
case 326: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, true, true); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 327: iteration_statement ::= upc_forall ( expression ; ; ; affinity ) statement
|
||||
// Rule 327: iteration_statement ::= upc_forall ( expression ; ; expression ; ) statement
|
||||
//
|
||||
case 327: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, false, true); break;
|
||||
case 327: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, true, false); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 328: iteration_statement ::= upc_forall ( expression ; ; ; ) statement
|
||||
// Rule 328: iteration_statement ::= upc_forall ( expression ; ; ; affinity ) statement
|
||||
//
|
||||
case 328: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, false, false); break;
|
||||
case 328: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, false, true); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 329: iteration_statement ::= upc_forall ( ; expression ; expression ; affinity ) statement
|
||||
// Rule 329: iteration_statement ::= upc_forall ( expression ; ; ; ) statement
|
||||
//
|
||||
case 329: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, true, true, true); break;
|
||||
case 329: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, false, false); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 330: iteration_statement ::= upc_forall ( ; expression ; expression ; ) statement
|
||||
// Rule 330: iteration_statement ::= upc_forall ( ; expression ; expression ; affinity ) statement
|
||||
//
|
||||
case 330: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, true, true, false); break;
|
||||
case 330: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, true, true, true); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 331: iteration_statement ::= upc_forall ( ; expression ; ; affinity ) statement
|
||||
// Rule 331: iteration_statement ::= upc_forall ( ; expression ; expression ; ) statement
|
||||
//
|
||||
case 331: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, true, false, true); break;
|
||||
case 331: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, true, true, false); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 332: iteration_statement ::= upc_forall ( ; expression ; ; ) statement
|
||||
// Rule 332: iteration_statement ::= upc_forall ( ; expression ; ; affinity ) statement
|
||||
//
|
||||
case 332: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, true, false, false); break;
|
||||
case 332: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, true, false, true); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 333: iteration_statement ::= upc_forall ( ; ; expression ; affinity ) statement
|
||||
// Rule 333: iteration_statement ::= upc_forall ( ; expression ; ; ) statement
|
||||
//
|
||||
case 333: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, false, true, true); break;
|
||||
case 333: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, true, false, false); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 334: iteration_statement ::= upc_forall ( ; ; expression ; ) statement
|
||||
// Rule 334: iteration_statement ::= upc_forall ( ; ; expression ; affinity ) statement
|
||||
//
|
||||
case 334: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, false, true, false); break;
|
||||
case 334: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, false, true, true); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 335: iteration_statement ::= upc_forall ( ; ; ; affinity ) statement
|
||||
// Rule 335: iteration_statement ::= upc_forall ( ; ; expression ; ) statement
|
||||
//
|
||||
case 335: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, false, false, true); break;
|
||||
case 335: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, false, true, false); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 336: iteration_statement ::= upc_forall ( ; ; ; ) statement
|
||||
// Rule 336: iteration_statement ::= upc_forall ( ; ; ; affinity ) statement
|
||||
//
|
||||
case 336: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, false, false, false); break;
|
||||
case 336: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, false, false, true); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 337: iteration_statement ::= upc_forall ( declaration expression ; expression ; affinity ) statement
|
||||
// Rule 337: iteration_statement ::= upc_forall ( ; ; ; ) statement
|
||||
//
|
||||
case 337: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, true, true); break;
|
||||
case 337: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, false, false, false); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 338: iteration_statement ::= upc_forall ( declaration expression ; expression ; ) statement
|
||||
// Rule 338: iteration_statement ::= upc_forall ( declaration expression ; expression ; affinity ) statement
|
||||
//
|
||||
case 338: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, true, false); break;
|
||||
case 338: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, true, true); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 339: iteration_statement ::= upc_forall ( declaration expression ; ; affinity ) statement
|
||||
// Rule 339: iteration_statement ::= upc_forall ( declaration expression ; expression ; ) statement
|
||||
//
|
||||
case 339: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, false, true); break;
|
||||
case 339: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, true, false); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 340: iteration_statement ::= upc_forall ( declaration expression ; ; ) statement
|
||||
// Rule 340: iteration_statement ::= upc_forall ( declaration expression ; ; affinity ) statement
|
||||
//
|
||||
case 340: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, false, false); break;
|
||||
case 340: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, false, true); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 341: iteration_statement ::= upc_forall ( declaration ; expression ; affinity ) statement
|
||||
// Rule 341: iteration_statement ::= upc_forall ( declaration expression ; ; ) statement
|
||||
//
|
||||
case 341: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, true, true); break;
|
||||
case 341: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, false, false); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 342: iteration_statement ::= upc_forall ( declaration ; expression ; ) statement
|
||||
// Rule 342: iteration_statement ::= upc_forall ( declaration ; expression ; affinity ) statement
|
||||
//
|
||||
case 342: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, true, false); break;
|
||||
case 342: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, true, true); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 343: iteration_statement ::= upc_forall ( declaration ; ; affinity ) statement
|
||||
// Rule 343: iteration_statement ::= upc_forall ( declaration ; expression ; ) statement
|
||||
//
|
||||
case 343: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, false, true); break;
|
||||
case 343: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, true, false); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 344: iteration_statement ::= upc_forall ( declaration ; ; ) statement
|
||||
// Rule 344: iteration_statement ::= upc_forall ( declaration ; ; affinity ) statement
|
||||
//
|
||||
case 344: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, false, false); break;
|
||||
case 344: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, false, true); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 346: affinity ::= continue
|
||||
// Rule 345: iteration_statement ::= upc_forall ( declaration ; ; ) statement
|
||||
//
|
||||
case 346: { action.beforeConsume(); action. consumeToken(); break;
|
||||
case 345: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, false, false); break;
|
||||
}
|
||||
|
||||
//
|
||||
// Rule 347: affinity ::= continue
|
||||
//
|
||||
case 347: { action.beforeConsume(); action. consumeToken(); break;
|
||||
}
|
||||
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -15,46 +15,46 @@ package org.eclipse.cdt.internal.core.dom.parser.upc;
|
|||
|
||||
public interface UPCParsersym {
|
||||
public final static int
|
||||
TK_auto = 32,
|
||||
TK_auto = 31,
|
||||
TK_break = 64,
|
||||
TK_case = 65,
|
||||
TK_char = 41,
|
||||
TK_char = 40,
|
||||
TK_const = 6,
|
||||
TK_continue = 59,
|
||||
TK_default = 66,
|
||||
TK_do = 67,
|
||||
TK_double = 42,
|
||||
TK_double = 41,
|
||||
TK_else = 93,
|
||||
TK_enum = 54,
|
||||
TK_extern = 33,
|
||||
TK_float = 43,
|
||||
TK_enum = 53,
|
||||
TK_extern = 32,
|
||||
TK_float = 42,
|
||||
TK_for = 68,
|
||||
TK_goto = 69,
|
||||
TK_if = 70,
|
||||
TK_inline = 34,
|
||||
TK_int = 44,
|
||||
TK_long = 45,
|
||||
TK_register = 35,
|
||||
TK_inline = 33,
|
||||
TK_int = 43,
|
||||
TK_long = 44,
|
||||
TK_register = 34,
|
||||
TK_restrict = 7,
|
||||
TK_return = 71,
|
||||
TK_short = 46,
|
||||
TK_signed = 47,
|
||||
TK_short = 45,
|
||||
TK_signed = 46,
|
||||
TK_sizeof = 17,
|
||||
TK_static = 30,
|
||||
TK_struct = 55,
|
||||
TK_static = 18,
|
||||
TK_struct = 54,
|
||||
TK_switch = 72,
|
||||
TK_typedef = 36,
|
||||
TK_union = 56,
|
||||
TK_unsigned = 48,
|
||||
TK_void = 49,
|
||||
TK_typedef = 35,
|
||||
TK_union = 55,
|
||||
TK_unsigned = 47,
|
||||
TK_void = 48,
|
||||
TK_volatile = 8,
|
||||
TK_while = 60,
|
||||
TK__Bool = 50,
|
||||
TK__Complex = 51,
|
||||
TK__Imaginary = 52,
|
||||
TK__Bool = 49,
|
||||
TK__Complex = 50,
|
||||
TK__Imaginary = 51,
|
||||
TK_LeftBracket = 37,
|
||||
TK_LeftParen = 1,
|
||||
TK_LeftBrace = 31,
|
||||
TK_LeftBrace = 36,
|
||||
TK_Dot = 80,
|
||||
TK_Arrow = 94,
|
||||
TK_PlusPlus = 15,
|
||||
|
@ -63,8 +63,8 @@ public interface UPCParsersym {
|
|||
TK_Star = 3,
|
||||
TK_Plus = 12,
|
||||
TK_Minus = 13,
|
||||
TK_Tilde = 18,
|
||||
TK_Bang = 19,
|
||||
TK_Tilde = 19,
|
||||
TK_Bang = 20,
|
||||
TK_Slash = 81,
|
||||
TK_Percent = 82,
|
||||
TK_RightShift = 61,
|
||||
|
@ -97,29 +97,29 @@ public interface UPCParsersym {
|
|||
TK_Hash = 107,
|
||||
TK_HashHash = 108,
|
||||
TK_NewLine = 109,
|
||||
TK_MYTHREAD = 20,
|
||||
TK_THREADS = 21,
|
||||
TK_UPC_MAX_BLOCKSIZE = 22,
|
||||
TK_MYTHREAD = 21,
|
||||
TK_THREADS = 22,
|
||||
TK_UPC_MAX_BLOCKSIZE = 23,
|
||||
TK_relaxed = 9,
|
||||
TK_shared = 10,
|
||||
TK_strict = 11,
|
||||
TK_upc_barrier = 75,
|
||||
TK_upc_localsizeof = 23,
|
||||
TK_upc_blocksizeof = 24,
|
||||
TK_upc_elemsizeof = 25,
|
||||
TK_upc_localsizeof = 24,
|
||||
TK_upc_blocksizeof = 25,
|
||||
TK_upc_elemsizeof = 26,
|
||||
TK_upc_notify = 76,
|
||||
TK_upc_fence = 77,
|
||||
TK_upc_wait = 78,
|
||||
TK_upc_forall = 79,
|
||||
TK_EOF_TOKEN = 87,
|
||||
TK_identifier = 2,
|
||||
TK_integer = 26,
|
||||
TK_floating = 27,
|
||||
TK_charconst = 28,
|
||||
TK_stringlit = 29,
|
||||
TK_integer = 27,
|
||||
TK_floating = 28,
|
||||
TK_charconst = 29,
|
||||
TK_stringlit = 30,
|
||||
TK_RightBracket = 63,
|
||||
TK_RightParen = 53,
|
||||
TK_RightBrace = 40,
|
||||
TK_RightParen = 56,
|
||||
TK_RightBrace = 52,
|
||||
TK_SemiColon = 39,
|
||||
TK_Invalid = 110,
|
||||
TK_PlaceMarker = 111,
|
||||
|
@ -150,6 +150,7 @@ public interface UPCParsersym {
|
|||
"PlusPlus",//$NON-NLS-1$
|
||||
"MinusMinus",//$NON-NLS-1$
|
||||
"sizeof",//$NON-NLS-1$
|
||||
"static",//$NON-NLS-1$
|
||||
"Tilde",//$NON-NLS-1$
|
||||
"Bang",//$NON-NLS-1$
|
||||
"MYTHREAD",//$NON-NLS-1$
|
||||
|
@ -162,17 +163,15 @@ public interface UPCParsersym {
|
|||
"floating",//$NON-NLS-1$
|
||||
"charconst",//$NON-NLS-1$
|
||||
"stringlit",//$NON-NLS-1$
|
||||
"static",//$NON-NLS-1$
|
||||
"LeftBrace",//$NON-NLS-1$
|
||||
"auto",//$NON-NLS-1$
|
||||
"extern",//$NON-NLS-1$
|
||||
"inline",//$NON-NLS-1$
|
||||
"register",//$NON-NLS-1$
|
||||
"typedef",//$NON-NLS-1$
|
||||
"LeftBrace",//$NON-NLS-1$
|
||||
"LeftBracket",//$NON-NLS-1$
|
||||
"Comma",//$NON-NLS-1$
|
||||
"SemiColon",//$NON-NLS-1$
|
||||
"RightBrace",//$NON-NLS-1$
|
||||
"char",//$NON-NLS-1$
|
||||
"double",//$NON-NLS-1$
|
||||
"float",//$NON-NLS-1$
|
||||
|
@ -185,10 +184,11 @@ public interface UPCParsersym {
|
|||
"_Bool",//$NON-NLS-1$
|
||||
"_Complex",//$NON-NLS-1$
|
||||
"_Imaginary",//$NON-NLS-1$
|
||||
"RightParen",//$NON-NLS-1$
|
||||
"RightBrace",//$NON-NLS-1$
|
||||
"enum",//$NON-NLS-1$
|
||||
"struct",//$NON-NLS-1$
|
||||
"union",//$NON-NLS-1$
|
||||
"RightParen",//$NON-NLS-1$
|
||||
"Colon",//$NON-NLS-1$
|
||||
"ERROR_TOKEN",//$NON-NLS-1$
|
||||
"continue",//$NON-NLS-1$
|
||||
|
|
Loading…
Add table
Reference in a new issue