| 1931 | } |
| 1932 | |
| 1933 | void parse_table(std::string::iterator& it, |
| 1934 | const std::string::iterator& end, table*& curr_table) |
| 1935 | { |
| 1936 | // remove the beginning keytable marker |
| 1937 | ++it; |
| 1938 | if (it == end) |
| 1939 | throw_parse_exception("Unexpected end of table"); |
| 1940 | if (*it == '[') |
| 1941 | parse_table_array(it, end, curr_table); |
| 1942 | else |
| 1943 | parse_single_table(it, end, curr_table); |
| 1944 | } |
| 1945 | |
| 1946 | void parse_single_table(std::string::iterator& it, |
| 1947 | const std::string::iterator& end, |
no test coverage detected