Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Kucera2008-04-04 18:50:04 +0000
committerMike Kucera2008-04-04 18:50:04 +0000
commit620f798dea36c89d9fa836e716f7b6d0ef7377d9 (patch)
tree80b101b9c43c372a9fb95b86be90476267f2378a /lrparser/org.eclipse.cdt.core.lrparser/grammar/cpp/CPPGrammar.g
parent504602213a5ed701fc2fb8ebf31bfa7def5a563b (diff)
downloadorg.eclipse.cdt-620f798dea36c89d9fa836e716f7b6d0ef7377d9.tar.gz
org.eclipse.cdt-620f798dea36c89d9fa836e716f7b6d0ef7377d9.tar.xz
org.eclipse.cdt-620f798dea36c89d9fa836e716f7b6d0ef7377d9.zip
added support for empty abstract declarators
Diffstat (limited to 'lrparser/org.eclipse.cdt.core.lrparser/grammar/cpp/CPPGrammar.g')
-rw-r--r--lrparser/org.eclipse.cdt.core.lrparser/grammar/cpp/CPPGrammar.g2
1 files changed, 2 insertions, 0 deletions
diff --git a/lrparser/org.eclipse.cdt.core.lrparser/grammar/cpp/CPPGrammar.g b/lrparser/org.eclipse.cdt.core.lrparser/grammar/cpp/CPPGrammar.g
index 97464decc44..1173d882934 100644
--- a/lrparser/org.eclipse.cdt.core.lrparser/grammar/cpp/CPPGrammar.g
+++ b/lrparser/org.eclipse.cdt.core.lrparser/grammar/cpp/CPPGrammar.g
@@ -1420,6 +1420,8 @@ direct_abstract_declarator
basic_direct_abstract_declarator
::= '(' abstract_declarator ')'
/. $Build consumeDirectDeclaratorBracketed(); $EndBuild ./
+ | '(' ')'
+ /. $Build consumeAbstractDeclaratorEmpty(); $EndBuild ./
array_direct_abstract_declarator

Back to the top