Commit 24e2d102 authored by Robert Bradshaw's avatar Robert Bradshaw

Fix sizeof for dotted (cimported) types

parent 204e2891
......@@ -218,7 +218,7 @@ def p_sizeof(s):
pos = s.position()
s.next()
s.expect('(')
if looking_at_type(s):
if looking_at_type(s) or looking_at_dotted_name(s):
base_type = p_c_base_type(s)
declarator = p_c_declarator(s, empty = 1)
node = ExprNodes.SizeofTypeNode(pos,
......
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