MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / cachec

Function cachec

extern/btyacc/reader.c:51–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49char line_format[] = "#line %d \"%s\"\n";
50
51int cachec(int c)
52{
53 assert(cinc >= 0);
54 if (cinc >= cache_size) {
55 if (!(cache = REALLOC(cache, cache_size += 256))) no_space(); }
56 return cache[cinc++] = c;
57}
58
59/*
60 * Get line

Callers 4

keywordFunction · 0.85
get_literalFunction · 0.85
get_nameFunction · 0.85
get_tagFunction · 0.85

Calls 2

assertClass · 0.85
no_spaceFunction · 0.85

Tested by

no test coverage detected