MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / gen_for

Function gen_for

src/gpre/int_cxx.cpp:403–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401//
402
403static void gen_for( const act* action, int column)
404{
405 TEXT s[MAX_REF_SIZE];
406
407 gen_s_start(action, column);
408
409 align(column);
410 const gpre_req* request = action->act_request;
411 fprintf(gpreGlob.out_file, "while (1)");
412 column += INDENT;
413 begin(column);
414 align(column);
415 gen_receive(action->act_request, request->req_primary);
416 align(column);
417 fprintf(gpreGlob.out_file, "if (!%s) break;", gen_name(s, request->req_eof));
418}
419
420
421//____________________________________________________________

Callers 1

INT_CXX_actionFunction · 0.70

Calls 5

gen_s_startFunction · 0.70
alignFunction · 0.70
beginFunction · 0.70
gen_receiveFunction · 0.70
gen_nameFunction · 0.70

Tested by

no test coverage detected