You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The samples are lines of code taken from a real application, I don't have much knowledge about the syntax of these GCC extension but these lines compile and work correctly with GCC 4.4.7 so I assume they are valid variations of the asm function.
The text was updated successfully, but these errors were encountered:
Using the example file func_calls.py from pycparser, with the only modification of instantiating a GnuCParser:
Basic "asm" expressions are parsed correctly, such as
asm ("foo" ::: "bar");
or
__asm__ ("foo" ::: "bar", "bar");
However, any asm expression with i/o operands will fail with the error: AttributeError: 'Constant' object has no attribute 'name'.
This is the test file I'm using:
The samples are lines of code taken from a real application, I don't have much knowledge about the syntax of these GCC extension but these lines compile and work correctly with GCC 4.4.7 so I assume they are valid variations of the asm function.
The text was updated successfully, but these errors were encountered: