adrian-thurston / ragel

Ragel State Machine Compiler
MIT License
524 stars 46 forks source link

[ragel] fbreak in EOF code in translated output triggers a parse error for intermediate code #48

Closed adrian-thurston closed 4 years ago

adrian-thurston commented 4 years ago

Can be reproduced with the following code:

%%{ 
    machine safe16;
    access this.;

    main := "" %{fbreak;};
}%%