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

gencppbindings fails with: "Error: only single underscores may occur in a token and token may not end with an underscore" #13

Open
DevKevinYG opened this issue Feb 15, 2023 · 0 comments
Labels
bug Something isn't working low priority

Comments

@DevKevinYG
Copy link
Contributor

DevKevinYG commented Feb 15, 2023

This issue can be reproduced by naming variables in cpp like this:

UENUM(BlueprintType)
enum class ENumTest: uint8
{
    _1_ = 1, //causes error as it ends with underscore
    _2_ = 2,
    _3_ = 3,
    _4_ = 4,
     //and so on
};

UFUNCTION(BlueprintCallable)
static void Func(const int32 a__b);
@jmgomez jmgomez added bug Something isn't working low priority labels Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working low priority
Projects
None yet
Development

No branches or pull requests

2 participants