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

Function decr_level

tools/kconfig2html.c:1093–1107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1091 ****************************************************************************/
1092
1093static void decr_level(void)
1094{
1095 int ndx = g_level;
1096
1097 g_paranum[ndx] = '\0';
1098 ndx--;
1099
1100 if (ndx < 0)
1101 {
1102 error("Nesting level underflow, aborting\n");
1103 exit(ERROR_NESTING_UNDERFLOW);
1104 }
1105
1106 g_level = ndx;
1107}
1108
1109/****************************************************************************
1110 * Name: incr_paranum

Callers 1

parse_kconfigfileFunction · 0.85

Calls 2

errorFunction · 0.85
exitFunction · 0.85

Tested by

no test coverage detected