MCPcopy Create free account
hub / github.com/TTimo/doom3.gpl / ParseForStatement

Method ParseForStatement

neo/game/script/Script_Compiler.cpp:1802–1867  ·  view source on GitHub ↗

================ idCompiler::ParseForStatement Form of for statement with a counter: a = 0; start: << patch4 if ( !( a < 10 ) ) { goto end; << patch1 } else { goto process; << patch3 } increment: << patch2 a = a + 1; goto start; << goto patch4 process: statements; goto increment; << goto patch2 end: Form of for statement without a counter: a = 0; start: << patch2

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

NumStatementsMethod · 0.45

Tested by

no test coverage detected