| 2145 | */ |
| 2146 | |
| 2147 | static 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 | |
| 2164 | static VAR_PARSE_ACTIONS * parse_actions( char const * string ) |
| 2165 | { |
no test coverage detected