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

Fix for #277 #278

Merged
merged 2 commits into from
Jan 31, 2023
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
fixing broken doctest
  • Loading branch information
thirtytwobits committed Jan 31, 2023
commit 2407e25617e2dd888a0959c72a2b9f56cfd43dba
6 changes: 3 additions & 3 deletions src/nunavut/lang/cpp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -887,8 +887,8 @@ def filter_includes(
# Listing the includes for a union with only integer types:
template = "{% for include in my_type | includes -%}{{include}}{%- endfor %}"

# stdint.h will normally be generated
rendered = "<cstdint>"
# cstdint will normally be generated. limits is always generated.
rendered = "<cstdint><limits>"

.. invisible-code-block: python

Expand All @@ -898,7 +898,7 @@ def filter_includes(

# You can suppress std includes by setting use_standard_types to False under
# nunavut.lang.cpp
rendered = ""
rendered = "<limits>"

.. invisible-code-block: python

Expand Down