Commit 52b2007b authored by Stefan Behnel's avatar Stefan Behnel

fix typo

parent 82c23c7a
...@@ -2842,7 +2842,7 @@ def p_c_func_or_var_declaration(s, pos, ctx): ...@@ -2842,7 +2842,7 @@ def p_c_func_or_var_declaration(s, pos, ctx):
declarators.append(declarator) declarators.append(declarator)
doc_line = s.start_line + 1 doc_line = s.start_line + 1
s.expect_newline("Syntax error in C variable declaration") s.expect_newline("Syntax error in C variable declaration")
if ctx.level in ('c_class', 'c_class_pxd') and s.start_line == doc_line if ctx.level in ('c_class', 'c_class_pxd') and s.start_line == doc_line:
doc = p_doc_string(s) doc = p_doc_string(s)
else: else:
doc = None doc = None
......
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