1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 09:46:02 +02:00
cdt/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
..
org.eclipse.cdt.core.lrparser Bug 84144 - [Parser2] GCC: labels as values 2014-07-05 20:34:13 -04:00
org.eclipse.cdt.core.lrparser.feature Bug 435998 - Remove 'updateSiteName' string as they are not used 2014-06-18 15:54:57 -04:00
org.eclipse.cdt.core.lrparser.sdk.feature Bug 435998 - Remove 'updateSiteName' string as they are not used 2014-06-18 15:54:57 -04:00
org.eclipse.cdt.core.lrparser.source.feature Bug 435998 - Remove 'updateSiteName' string as they are not used 2014-06-18 15:54:57 -04:00
org.eclipse.cdt.core.lrparser.tests Cosmetics. 2014-05-08 20:10:01 -07:00