"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/host-js/rlhc-js.lm" between
ragel-7.0.0.11.tar.gz and ragel-7.0.0.12.tar.gz

About: Ragel compiles executable finite state machines from regular languages (C, C++, Obj-C, C#, D, Java, Go and Ruby). Development version.

rlhc-js.lm  (ragel-7.0.0.11):rlhc-js.lm  (ragel-7.0.0.12)
skipping to change at line 455 skipping to change at line 455
"[stmt_list( Stmt.case_block._repeat_stmt )] "[stmt_list( Stmt.case_block._repeat_stmt )]
"break; "break;
} }
case [default_block] case [default_block]
{ {
send Parser send Parser
"default: "default:
"[stmt_list( Stmt.default_block._repeat_stmt )] "[stmt_list( Stmt.default_block._repeat_stmt )]
"break; "break;
} }
case [goto_label] case [goto_label] { }
{ case [G: goto_stmt] { }
send Parser "{}"
}
case [G: goto_stmt]
{
send Parser
"{
" _goto_targ = [$G.Id];
" continue _goto;
"}
}
case [entry_loop]
{
send Parser
"var _goto_targ = 0;
"_goto: while ( true ) {
" switch ( _goto_targ ) {
" case 0:
" [stmt_list( Stmt.entry_loop._repeat_stmt
)]
" }
" break;
"}
}
case [label_stmt]
{
send Parser
"case [Stmt.label_stmt.Id]:
"[stmt_list( Stmt.label_stmt._repeat_stmt )]
}
case [AS: assign_stmt] case [AS: assign_stmt]
{ {
send Parser send Parser
"[lvalue(AS.LValue) AS.assign_op expr(AS.expr)]; "[lvalue(AS.LValue) AS.assign_op expr(AS.expr)];
} }
default { default {
# catches unspecified cases # catches unspecified cases
send Parser [Stmt] send Parser [Stmt]
} }
} }
 End of changes. 1 change blocks. 
31 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)