MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / FinishCompilation

Method FinishCompilation

neo/game/script/Script_Program.cpp:1752–1767  ·  view source on GitHub ↗

============== idProgram::FinishCompilation Called after all files are compiled to check for errors ============== */

Source from the content-addressed store, hash-verified

1750==============
1751*/
1752void idProgram::FinishCompilation( void ) {
1753 int i;
1754
1755 top_functions = functions.Num();
1756 top_statements = statements.Num();
1757 top_types = types.Num();
1758 top_defs = varDefs.Num();
1759 top_files = fileList.Num();
1760
1761 variableDefaults.Clear();
1762 variableDefaults.SetNum( numVariables );
1763
1764 for( i = 0; i < numVariables; i++ ) {
1765 variableDefaults[ i ] = variables[ i ];
1766 }
1767}
1768
1769/*
1770==============

Callers

nothing calls this directly

Calls 3

NumMethod · 0.45
ClearMethod · 0.45
SetNumMethod · 0.45

Tested by

no test coverage detected