MCPcopy Create free account
hub / github.com/apache/nuttx / incr_level

Function incr_level

tools/kconfig2html.c:1071–1083  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1069 ****************************************************************************/
1070
1071static void incr_level(void)
1072{
1073 int ndx = g_level;
1074
1075 if (ndx >= MAX_LEVELS)
1076 {
1077 error("Nesting level is too deep, aborting\n");
1078 exit(ERROR_NESTING_TOO_DEEP);
1079 }
1080
1081 g_paranum[ndx] = 1;
1082 g_level = ndx + 1;
1083}
1084
1085/****************************************************************************
1086 * Name: decr_level

Callers 3

process_choiceFunction · 0.85
process_menuFunction · 0.85
mainFunction · 0.85

Calls 2

errorFunction · 0.85
exitFunction · 0.85

Tested by

no test coverage detected