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

Function parse_expansion

src/engine/function.cpp:2147–2162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2145 */
2146
2147static VAR_PARSE_GROUP * parse_expansion( char const * * string )
2148{
2149 VAR_PARSE_GROUP * result = var_parse_group_new();
2150 char const * s = *string;
2151 for ( ; ; )
2152 {
2153 if ( try_parse_variable( &s, string, result ) ) {}
2154 else if ( s[ 0 ] == '\0' )
2155 {
2156 var_parse_group_maybe_add_constant( result, *string, s );
2157 return result;
2158 }
2159 else
2160 ++s;
2161 }
2162}
2163
2164static VAR_PARSE_ACTIONS * parse_actions( char const * string )
2165{

Callers 1

compile_parseFunction · 0.85

Calls 3

var_parse_group_newFunction · 0.85
try_parse_variableFunction · 0.85

Tested by

no test coverage detected