diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2014-12-11 01:00:21 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2014-12-11 01:00:21 +0100 |
commit | 7b7c34011150c4db92220924d02e7e70eda3a8a7 (patch) | |
tree | 32c0cbc109bfca783b87ab9cdef94dbd9808cf36 /src/plugins/css | |
parent | d51f1d3e9307124c93d3a8ca9c26f48420c10c50 (diff) |
adapted Reader class to use CharReader instead of BufferedCharReader
Diffstat (limited to 'src/plugins/css')
-rw-r--r-- | src/plugins/css/CSSParser.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/plugins/css/CSSParser.cpp b/src/plugins/css/CSSParser.cpp index 4bbcc18..4cbe93f 100644 --- a/src/plugins/css/CSSParser.cpp +++ b/src/plugins/css/CSSParser.cpp @@ -227,14 +227,15 @@ Rooted<SelectorNode> CSSParser::parsePrimitiveSelector(CodeTokenizer &tokenizer, // parse the argument list. Variant::arrayType args; // we require at least one argument, if parantheses are used - args.push_back(variant::Reader::parseGeneric(tokenizer.getInput(), + // XXX + /*args.push_back(variant::Reader::parseGeneric(tokenizer.getInput(), ctx.logger, - {',', ')'}).second); + {',', ')'}).second);*/ while (expect(COMMA, tokenizer, t, false, ctx)) { // as long as we find commas we expect new arguments. - args.push_back( + /*args.push_back( variant::Reader::parseGeneric( - tokenizer.getInput(), ctx.logger, {',', ')'}).second); + tokenizer.getInput(), ctx.logger, {',', ')'}).second);*/ } expect(PAREN_CLOSE, tokenizer, t, true, ctx); // and we return with the finished Selector. @@ -333,8 +334,8 @@ bool CSSParser::parseRule(CodeTokenizer &tokenizer, ParserContext &ctx, expect(COLON, tokenizer, t, true, ctx); // then the value // TODO: Resolve key for appropriate parsing function here. - value = variant::Reader::parseGeneric(tokenizer.getInput(), ctx.logger, - {';'}).second; + /*value = variant::Reader::parseGeneric(tokenizer.getInput(), ctx.logger, + {';'}).second;*/ // and a ; expect(SEMICOLON, tokenizer, t, true, ctx); return true; |