MCPcopy Create free account
hub / github.com/TinyCC/tinycc / skip_or_save_block

Function skip_or_save_block

tccgen.c:7528–7563  ·  view source on GitHub ↗

This skips over a stream of tokens containing balanced {} and () pairs, stopping at outer ',' ';' and '}' (or matching '}' if we started with a '{'). If STR then allocates and stores the skipped tokens in *STR. This doesn't check if () and {} are nested correctly, i.e. "({)}" is accepted. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

post_typeFunction · 0.85
unaryFunction · 0.85
decl_initializerFunction · 0.85
decl_initializer_allocFunction · 0.85
declFunction · 0.85

Calls 4

tok_str_allocFunction · 0.85
tok_str_add_tokFunction · 0.85
nextFunction · 0.85
tok_str_addFunction · 0.85

Tested by

no test coverage detected