Comments (3)
While va_arg
is in C99, it's a macro so it should be handled by the preprocessor. You can already parse this using the standard provided fake headers (see the README).
In the general case taking types instead of other identifiers can be very tricky in C (which is probably why this is delegated to a macro in the standard).
from pycparser.
The provided macro ignores the type of the argument, so this information is not available in the AST.
from pycparser.
I don't object, but it may be tricky to add this parsing rule without introducing more parser conflicts. PRs welcome
from pycparser.
Related Issues (20)
- Add end of token coord
- Unable to parse labels at end of block HOT 1
- BUG: pycparser treats empty declarations as a binary operation HOT 1
- TypeError:'Nonetype' object is not callable HOT 5
- "sorry, but this version only supports 100 named groups" HOT 1
- Unable to parse through comments and can't support directives HOT 2
- Parser can't handle unknown data types for variables HOT 1
- Parser unbale to handle custom data types for custom functions HOT 1
- Parehthesized compount statements HOT 3
- Can't parse function declaration with unnamed static array HOT 1
- Implement the collections.abc.Sequence interface for e. g. class Node HOT 1
- c_ast.cpython-*.pyc is rewritten after it is installed
- type cast parsing error in (__typeof(h))spa_meta_first(m) line, __typeof(h) type is not allowed by parser rules HOT 1
- pycparser.plyparser.ParseError when running the example code on .h
- Constant string concatenation HOT 4
- A variable which declared as static within a function causes parser to fail with an error ":4700:18: before: locale" HOT 3
- using_gcc_E_libc example is ran during tests in an LLVM only setup HOT 6
- Parsing strings that contain escaped double quotes HOT 2
- ParseError with typeof HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycparser.