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

Function parse_expansion

v2/engine/function.c:1898–1913  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1896 */
1897
1898static VAR_PARSE_GROUP * parse_expansion( char const * * string )
1899{
1900 VAR_PARSE_GROUP * result = var_parse_group_new();
1901 char const * s = *string;
1902 for ( ; ; )
1903 {
1904 if ( try_parse_variable( &s, string, result ) ) {}
1905 else if ( s[ 0 ] == '\0' )
1906 {
1907 var_parse_group_maybe_add_constant( result, *string, s );
1908 return result;
1909 }
1910 else
1911 ++s;
1912 }
1913}
1914
1915static VAR_PARSE_ACTIONS * parse_actions( char const * string )
1916{

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