commit | e1a1d737be66308b633215fa26ac5ed30e890103 | [log] [tgz] |
---|---|---|
author | Amir Gonnen <amirgonnen@gmail.com> | Wed Mar 27 22:22:44 2019 |
committer | Eli Bendersky <eliben@users.noreply.github.com> | Wed Mar 27 22:22:44 2019 |
tree | 05c2766212f9e5f14fa8b78743a4a8f2577b6508 | |
parent | 96059858252ea3673226a9a4d03a356bd51ba47e [diff] |
Generate pointer types correctly (#315) * Add visit_PtrDecl to generate ptr types correctly Also removed code duplication from visit_ArrayDecl and visit_TypeDecl by calling _generate_type instead, without emitting the declname. Added tests for ptr type generation * Truncate lines longer than 80 characters per https://github.com/eliben/pycparser/pull/315/files#r269553083