Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for declarations of variables of "function pointer" type #4

Merged
merged 3 commits into from
Nov 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add support for sizeof() with expression argument
  • Loading branch information
chrhansk committed Nov 10, 2024
commit f467346f5ab297d52b1906bca6e5242d6022a847
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
@@ -686,7 +686,7 @@ module.exports = grammar(Python, {
seq(
"sizeof",
"(",
$.c_type,
choice($.c_type, $.expression),
")",
),
),
13 changes: 11 additions & 2 deletions src/grammar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/node-types.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading