Skip to content

condition consisting of default rule only is ignored #120

@skvadrik

Description

@skvadrik

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*/

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions