| 1896 | */ |
| 1897 | |
| 1898 | static 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 | |
| 1915 | static VAR_PARSE_ACTIONS * parse_actions( char const * string ) |
| 1916 | { |
no test coverage detected