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

Function parse_expansion

src/engine/function.c:1949–1964  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1947 */
1948
1949static VAR_PARSE_GROUP * parse_expansion( char const * * string )
1950{
1951 VAR_PARSE_GROUP * result = var_parse_group_new();
1952 char const * s = *string;
1953 for ( ; ; )
1954 {
1955 if ( try_parse_variable( &s, string, result ) ) {}
1956 else if ( s[ 0 ] == '\0' )
1957 {
1958 var_parse_group_maybe_add_constant( result, *string, s );
1959 return result;
1960 }
1961 else
1962 ++s;
1963 }
1964}
1965
1966static VAR_PARSE_ACTIONS * parse_actions( char const * string )
1967{

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