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

Example not working #46

Open
andreas-jonsson opened this issue Feb 11, 2022 · 0 comments
Open

Example not working #46

andreas-jonsson opened this issue Feb 11, 2022 · 0 comments

Comments

@andreas-jonsson
Copy link

Generating code using the "Naval Fate" example produces broken header. Line 97 & 98.

struct DocoptArgs {
    
    /* commands */
    size_t create;
    size_t mine;
    size_t move;
    size_t remove;
    size_t set;
    size_t ship;
    size_t shoot;
    /* arguments */
    char *name;
{indent}char *x;
{indent}char *y;
    /* options without arguments */
    size_t drifting;
    size_t help;
    size_t moored;
    size_t version;
    /* options with arguments */
    char *speed;
    /* special */
    const char *usage_pattern;
    const char *help_message[16];
};

I'm running Python 3.10.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant