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

condition consisting of default rule only is ignored #120

Closed
skvadrik opened this issue Sep 15, 2015 · 1 comment

Comments

@skvadrik
Copy link
Owner

commented Sep 15, 2015

Given the following code (1.re):

/*!re2c
    <c> * {}
*/

expected output:

{
        YYCTYPE yych;
        switch (YYGETCONDITION()) {
        case yycc: goto yyc_c;
        }
/* *********************************** */
yyc_c:
        if (YYLIMIT <= YYCURSOR) YYFILL(1);
        yych = *YYCURSOR;
        ++YYCURSOR;
        {}
}

actual output:

 $ ./re2c -ci 1.re 
/* Generated by re2c 0.14.1.dev on Tue Sep 15 12:55:39 2015*/

@skvadrik skvadrik self-assigned this Sep 15, 2015

@skvadrik

This comment has been minimized.

Copy link
Owner Author

commented Mar 19, 2019

Fixed in master.

@skvadrik skvadrik closed this Mar 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.