Commit ff193fe9 authored by gsamain's avatar gsamain

Allow docstrings in c++ classes

parent b2b9b7c5
...@@ -3768,6 +3768,7 @@ def p_cpp_class_definition(s, pos, ctx): ...@@ -3768,6 +3768,7 @@ def p_cpp_class_definition(s, pos, ctx):
s.next() s.next()
s.expect('NEWLINE') s.expect('NEWLINE')
s.expect_indent() s.expect_indent()
doc = p_doc_string(s)
attributes = [] attributes = []
body_ctx = Ctx(visibility = ctx.visibility, level='cpp_class', nogil=nogil or ctx.nogil) body_ctx = Ctx(visibility = ctx.visibility, level='cpp_class', nogil=nogil or ctx.nogil)
body_ctx.templates = template_names body_ctx.templates = template_names
......
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