MCPcopy Create free account
hub / github.com/boostorg/build / regnode

Function regnode

src/engine/regexp.cpp:657–676  ·  view source on GitHub ↗

- regnode - emit a node */

Source from the content-addressed store, hash-verified

655 - regnode - emit a node
656 */
657static char * /* Location. */
658regnode( int32_t op )
659{
660 char *ret;
661 char *ptr;
662
663 ret = regcode;
664 if (ret == &regdummy) {
665 regsize += 3;
666 return(ret);
667 }
668
669 ptr = ret;
670 *ptr++ = op;
671 *ptr++ = '\0'; /* Null "next" pointer. */
672 *ptr++ = '\0';
673 regcode = ptr;
674
675 return(ret);
676}
677
678/*
679 - regc - emit (if appropriate) a byte of code

Callers 4

regFunction · 0.85
regbranchFunction · 0.85
regpieceFunction · 0.85
regatomFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected