Commit f4ec0a33 authored by gsamain's avatar gsamain Committed by Xavier Thompson

Allow nested cypclass in parsing

parent 28b8c4e6
......@@ -3859,7 +3859,7 @@ def p_cpp_class_attribute(s, ctx):
decorators = None
if s.sy == '@':
decorators = p_decorators(s)
if s.systring == 'cppclass':
if s.systring in ('cppclass', 'cypclass'):
return p_cpp_class_definition(s, s.position(), ctx)
elif s.systring == 'ctypedef':
return p_ctypedef_statement(s, ctx)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment