"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/host-julia/rlhc-julia.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-julia.lm  (ragel-7.0.0.11):rlhc-julia.lm  (ragel-7.0.0.12)
skipping to change at line 508 skipping to change at line 508
send Parser send Parser
"default: "default:
"[stmt_list( Stmt.default_block._repeat_stmt )] "[stmt_list( Stmt.default_block._repeat_stmt )]
"break; "break;
} }
case [case_label] case [case_label]
{ {
send Parser send Parser
"@case [expr( Stmt.case_label.expr )] "@case [expr( Stmt.case_label.expr )]
} }
case [label_stmt]
{
send Parser
"@label [Stmt.label_stmt.ident]
"[stmt_list( Stmt.label_stmt._repeat_stmt )]
}
case [L: goto_label] case [L: goto_label]
{ {
send Parser send Parser
"@label [L.ident] "@label [L.ident]
} }
case [G: goto_stmt] case [G: goto_stmt]
{ {
send Parser send Parser
"@goto [G.ident] "@goto [G.ident]
} }
case [entry_loop]
{
send Parser
[stmt_list( Stmt.entry_loop._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]
} }
} }
void stmt_list( StmtList: stmt* ) void stmt_list( StmtList: stmt* )
{ {
for Stmt: stmt in repeat( StmtList ) for Stmt: stmt in repeat( StmtList )
stmt( Stmt ) stmt( Stmt )
} }
void trans( Output: stream, Start: start ) void trans( Output: stream, Start: start )
 End of changes. 3 change blocks. 
12 lines changed or deleted 2 lines changed or added

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