Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorqdagans2014-07-08 01:43:20 +0000
committerThomas Corbat2014-07-09 09:10:09 +0000
commitbf0ac984648cf00b5b40fbd402afafd103ee8ced (patch)
treebcc3c74bc959237a31b8c896113112c79843808b /lrparser/org.eclipse.cdt.core.lrparser/src/org
parent17d10e5823f69615be9781f12ec3b32cb46211f3 (diff)
downloadorg.eclipse.cdt-bf0ac984648cf00b5b40fbd402afafd103ee8ced.tar.gz
org.eclipse.cdt-bf0ac984648cf00b5b40fbd402afafd103ee8ced.tar.xz
org.eclipse.cdt-bf0ac984648cf00b5b40fbd402afafd103ee8ced.zip
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. Updated to not change API. Signed-off-by: Anders Dahlberg <anders.xb.dahlberg@ericsson.com> Change-Id: Ibb69ce7748f201c15bdf2da05348c157cdd5aaae Reviewed-on: https://git.eclipse.org/r/29574 Tested-by: Hudson CI Reviewed-by: Thomas Corbat <tcorbat@hsr.ch> Tested-by: Thomas Corbat <tcorbat@hsr.ch>
Diffstat (limited to 'lrparser/org.eclipse.cdt.core.lrparser/src/org')
0 files changed, 0 insertions, 0 deletions

Back to the top