| 2162 | } |
| 2163 | |
| 2164 | static VAR_PARSE_ACTIONS * parse_actions( char const * string ) |
| 2165 | { |
| 2166 | VAR_PARSE_ACTIONS * const result = var_parse_actions_new(); |
| 2167 | parse_var_string( string, string + strlen( string ), result->elems ); |
| 2168 | return result; |
| 2169 | } |
| 2170 | |
| 2171 | /* |
| 2172 | * Checks whether the string a *s_ starts with a variable expansion "$(". |
no test coverage detected