Skip to content

Debracket macro not expanded #397

Closed
Closed

Description

@danmar

Example code:

#define A(val) DEBRACKET val
#define DEBRACKET(val) val

A((2))

gcc -E output:

2

simplecpp output:

DEBRACKET ( 2 )

Activity

  1. self-assigned this
    on Dec 11, 2024
  2. danmar commented on Dec 12, 2024

    @danmar
    CollaboratorAuthor

    I don't know.. this might be related to #394

  3. added this to the 1.2.0 milestone on Dec 12, 2024
  4. added 2 commits that reference this issue on Dec 12, 2024
    62be4c4
    c2b2aa9
  5. changed the title [-]Debracket macro not expanded[/-] [+]Debracket macro not expanded, delayed invocation in expandToken[/+] on Dec 12, 2024
  6. changed the title [-]Debracket macro not expanded, delayed invocation in expandToken[/-] [+]Debracket macro not expanded[/+] on Dec 12, 2024
  7. added a commit that references this issue on Dec 13, 2024
    4bb6eba
  8. added 2 commits that reference this issue on Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions