#40 defined free functions are not parsed

closed-fixed
nobody
None
5
2012-07-04
2012-07-04
Johan Hake
No

When functions are defined and not only declared they do not get parsed. The following snippet reproduces the error:
from CppHeaderParser import CppHeader
code = """
void jada(double bada)
{
}

void bada(double jada);
"""
cppheader = CppHeader(code, argType="string")
print "Correctly parsed?", len(cppheader.functions)==2

Discussion

  • Jashua Cloutier

    Jashua Cloutier - 2012-07-04

    Fixed in commit 86:b72f3705a0ef

     
  • Jashua Cloutier

    Jashua Cloutier - 2012-07-04
    • status: open --> closed-fixed
     

Log in to post a comment.