summaryrefslogtreecommitdiff
path: root/Source/Modules/python.cxx
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2022-04-06 09:57:54 +1200
committerOlly Betts <ojwbetts@gmail.com>2022-04-07 12:01:40 +1200
commit779d5cf57ade9de944d8feece9f5101668e2245f (patch)
treea4923a823f6fc2fbfc7547d885e6d667dc2c58a6 /Source/Modules/python.cxx
parentfe0af80933807ef7f6aed02981e601876850fd11 (diff)
downloadswig-779d5cf57ade9de944d8feece9f5101668e2245f.tar.gz
Remove bogus parser grammar rule for unary &&
This appears to have been accidentally added in d8cc75946b236f08f9561a82867997e1021f96ab as part of the changes to support C++11 rvalue references, presumably to match the existing correct rule for unary &. There is a non-standard GCC extension for taking the address of a label using unary &&: https://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html However this extension only works in an expression in a function body, and SWIG doesn't parse the contents of function bodies so this grammar rule isn't even providing any useful support for this extension.
Diffstat (limited to 'Source/Modules/python.cxx')
0 files changed, 0 insertions, 0 deletions