| 1947 | */ |
| 1948 | |
| 1949 | static 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 | |
| 1966 | static VAR_PARSE_ACTIONS * parse_actions( char const * string ) |
| 1967 | { |
no test coverage detected