MCPcopy Create free account
hub / github.com/ZDoom/Raze / parseEmptyBlock

Function parseEmptyBlock

source/core/defparser.cpp:1141–1148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1139//===========================================================================
1140
1141static void parseEmptyBlock(FScanner& sc, FScriptPosition& pos)
1142{
1143 FScanner::SavedPos blockend;
1144
1145 if (sc.StartBraces(&blockend)) return;
1146 sc.RestorePos(blockend);
1147 sc.CheckString("}");
1148}
1149
1150static void parseEmptyBlockWithParm(FScanner& sc, FScriptPosition& pos)
1151{

Callers

nothing calls this directly

Calls 3

StartBracesMethod · 0.80
RestorePosMethod · 0.80
CheckStringMethod · 0.45

Tested by

no test coverage detected