MCPcopy Create free account
hub / github.com/dillo-browser/dillo / ignoreStatement

Method ignoreStatement

src/cssparser.cc:1754–1768  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1752}
1753
1754void CssParser::ignoreStatement()
1755{
1756 while (ttype != CSS_TK_END) {
1757 if (ttype == CSS_TK_CHAR) {
1758 if (tval[0] == ';') {
1759 nextToken();
1760 return;
1761 } else if (tval[0] =='{') {
1762 ignoreBlock();
1763 return;
1764 }
1765 }
1766 nextToken();
1767 }
1768}
1769
1770void CssParser::parse(DilloHtml *html, const DilloUrl *baseUrl,
1771 CssContext *context,

Callers 1

parseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected