summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorVitaly Cheptsov <4348897+vit9696@users.noreply.github.com>2021-10-04 16:20:47 +0300
committerGitHub <noreply@github.com>2021-10-04 06:20:47 -0700
commit14ffe7bc486805c568403757d8634211f8458451 (patch)
tree991da5b6498df6bd37d1bc855dbf325c33f96ad4 /examples
parent007e79e5ba45d3f3c4325578a91f7786a7b88cfb (diff)
downloadpycparser-14ffe7bc486805c568403757d8634211f8458451.tar.gz
Implement _Alignas and _Alignof support with tests (#435)
* Implement _Alignas and _Alignof support with tests * Improve testing and avoid unnecessary alignas for typedef * Add more tests * Drop legacy artifact * Remove extra _add_declaration_specifier call * Drop custom equality comparators for now Co-authored-by: vit9696 <vit9696@users.noreply.github.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/func_defs_add_param.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/func_defs_add_param.py b/examples/func_defs_add_param.py
index e020745..d79fef6 100644
--- a/examples/func_defs_add_param.py
+++ b/examples/func_defs_add_param.py
@@ -29,6 +29,7 @@ class ParamAdder(c_ast.NodeVisitor):
newdecl = c_ast.Decl(
name='_hidden',
quals=[],
+ align=[],
storage=[],
funcspec=[],
type=ty,