1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00
cdt/lrparser/org.eclipse.cdt.core.lrparser
qdagans 8649b65570 Bug 84144 - [Parser2] GCC: labels as values
Add support for GNU goto label references.

"http://gcc.gnu.org/onlinedocs/gcc-3.3.2/gcc/Labels-as-Values.html#Labels%20as%20Values
GCC extensions to C allow taking the address of labels. These addresses can be used in a goto statement where any expression of type void * is allowed:

foo:
  void* labelPtr = &&foo;
  goto *labelPtr;", comment from Andrew Niefer

Add new classes and necessary changes in existing classes to support the above.

Change-Id: I60b64957af3fdfd5463e89c2a36eea13bd280887
Signed-off-by: qdagans <anders.xb.dahlberg@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28826
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-07-05 20:34:13 -04:00
..
.settings added token mapping to CPPBuildASTParserAction 2008-05-01 15:07:12 +00:00
grammar Bug 315826 Update LR Parser for the template arguments rules - patch by John Liu 2010-08-09 17:50:49 +00:00
META-INF Bug 328867 patch by John Liu, update plugin/feature versions 2011-02-07 17:14:05 +00:00
old/org/eclipse/cdt/internal/core/dom/lrparser Bug 389009 - Enumerator with dependent value 2013-02-05 13:09:29 -05:00
src/org/eclipse/cdt Bug 84144 - [Parser2] GCC: labels as values 2014-07-05 20:34:13 -04:00
.classpath fixed some warnings 2008-04-25 19:25:57 +00:00
.project Bug 318011 - Invalid project name in org.eclipse.cdt.core.lrparser .project 2010-08-06 01:28:31 +00:00
about.html initial commit of new C99 and C++ parsers (work in progress) 2008-01-22 19:16:30 +00:00
about.ini New CDT Icon. 2010-06-03 15:20:43 +00:00
about.mappings initial commit of new C99 and C++ parsers (work in progress) 2008-01-22 19:16:30 +00:00
about.properties update copyright in about and update provider info 2010-05-31 20:40:20 +00:00
build.properties Fixed up branding plug-ins. 2010-06-04 01:18:33 +00:00
cdt_logo_icon32.png Prettier 32x32 icon. 2010-06-04 14:24:50 +00:00
plugin.properties update copyrights 2009-05-26 21:34:15 +00:00
plugin.xml [273326] [XLC Parser] support variable length arrays in C++ 2009-04-22 18:57:35 +00:00
pom.xml Bumped up CDT version to 8.4. 2014-01-21 17:35:29 -05:00