MCPcopy Create free account
hub / github.com/IBM/Project_CodeNet / token_buf_pop

Function token_buf_pop

tools/tokenizer/libtoken.c:484–487  ·  view source on GitHub ↗

Undoes the push action but only if there is some content.

Source from the content-addressed store, hash-verified

482
483// Undoes the push action but only if there is some content.
484static int token_buf_pop(void)
485{
486 return token_len ? token_buf[--token_len] : 0;
487}
488
489// Adds a terminating NUL character which does not change the token length.
490static void token_buf_close(void)

Callers 1

C_tokenize_intFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected