mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-30 21:55:31 +02:00
Revert "Bug 84144 [Parser2] GCC: labels as values"
This reverts commit 6e7a509f9b
.
Change-Id: I7efcd8ac5d4c4507e827faed6072d6a314dc0b25
This commit is contained in:
parent
1e598214ea
commit
36d26c19e8
2 changed files with 2 additions and 14 deletions
|
@ -7515,19 +7515,7 @@ public class AST2Tests extends AST2TestBase {
|
|||
public void testExpressionLabelReference_84144() throws Exception {
|
||||
parseAndCheckBindings(true);
|
||||
}
|
||||
|
||||
// void f()
|
||||
// {
|
||||
// unsigned long long labelPtr;
|
||||
// labelPtr = (unsigned long long) &&L;
|
||||
// goto *labelPtr;
|
||||
// L:
|
||||
// return;
|
||||
// }
|
||||
public void testExpressionLabelReferenceCast_84144() throws Exception {
|
||||
parseAndCheckBindings(true);
|
||||
}
|
||||
|
||||
|
||||
// int version = 0;
|
||||
// int NextVersion() {
|
||||
// return __atomic_add_fetch(&version, 1, 5);
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* Sergey Prigogin (Google)
|
||||
* Thomas Corbat (IFS)
|
||||
* Anders Dahlberg (Ericsson) - bug 84144
|
||||
* Justin You (Synopsys) - bug 84144
|
||||
* Alexander Nyßen (itemis AG) - bug 475908
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.internal.core.dom.parser;
|
||||
|
@ -2568,6 +2567,7 @@ public abstract class AbstractGNUSourceCodeParser implements ISourceCodeParser {
|
|||
skipBrackets(IToken.tLPAREN, IToken.tRPAREN, IToken.tSEMI);
|
||||
switch (LTcatchEOF(1)) {
|
||||
case IToken.tAMPERASSIGN:
|
||||
case IToken.tAND:
|
||||
case IToken.tARROW:
|
||||
case IToken.tARROWSTAR:
|
||||
case IToken.tASSIGN:
|
||||
|
|
Loading…
Add table
Reference in a new issue