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

modtool: Remove comments from C++ iosignatures #7354

Merged
merged 1 commit into from
May 27, 2024

Conversation

marcusmueller
Copy link
Member

Description

Fix the case where the comments (which are present in gr-newmod) in iosignatures break YAML gen

Related Issue

Fixes #5222

(At least for reasonable cases. Comments with nested comment symbols, or strings containing C comments, might lead to interesting results. But these are not likely to occur.

Which blocks/areas does this affect?

gr-modtool

Testing Done

https://gist.github.com/marcusmueller/f03ff708e0975c82dc80c06156c1ae3b

(can't do automatic tests before we fix modtool to run non-interactively)

Checklist

@willcode willcode added the Backport-3.10 Should be backported to 3.10 label May 18, 2024
@willcode
Copy link
Member

@marcusmueller could you squash and sign?

This makes it possible to use

1 /* number of input streams */

in your code (just as the newmod template does).

Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
@marcusmueller marcusmueller force-pushed the modtool_makeyaml_decommentify branch from 7855aaa to 1f9f5fb Compare May 26, 2024 19:04
@willcode willcode merged commit bdb6d90 into gnuradio:main May 27, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gr_modtool makeyaml produces some invalid fields
2 participants