| 1814 | } |
| 1815 | |
| 1816 | static char_t* parse_simple(char_t* s, char_t end_quote) |
| 1817 | { |
| 1818 | gap g; |
| 1819 | |
| 1820 | while (true) |
| 1821 | { |
| 1822 | while (!IS_CHARTYPE(*s, ct_parse_attr)) ++s; |
| 1823 | |
| 1824 | if (*s == end_quote) |
| 1825 | { |
| 1826 | *g.flush(s) = 0; |
| 1827 | |
| 1828 | return s + 1; |
| 1829 | } |
| 1830 | else if (opt_escape::value && *s == '&') |
| 1831 | { |
| 1832 | s = strconv_escape(s, g); |
| 1833 | } |
| 1834 | else if (!*s) |
| 1835 | { |
| 1836 | return 0; |
| 1837 | } |
| 1838 | else ++s; |
| 1839 | } |
| 1840 | } |
| 1841 | }; |
| 1842 | |
| 1843 | strconv_attribute_t get_strconv_attribute(unsigned int optmask) |
nothing calls this directly
no test coverage detected