diff --git a/libwccl/ops/functions/strset/getlemmas.h b/libwccl/ops/functions/strset/getlemmas.h index b4017e8a38771acb7910ca0e7c508284db7c8afe..741a1638c57db8571ce35c433705e7d082e400ba 100644 --- a/libwccl/ops/functions/strset/getlemmas.h +++ b/libwccl/ops/functions/strset/getlemmas.h @@ -31,7 +31,7 @@ public: /** * @returns String representation of the function in the form of: - * "base(pos_expr_string)" + * "base(pos_expr_raw_string)" * @note This version does not require tagset, but may be inclomplete * and/or contain internal info. */ diff --git a/libwccl/ops/functions/tset/getsymbols.h b/libwccl/ops/functions/tset/getsymbols.h index 2c492016924d8024d39fb52d8a413de8d43c8272..988f741801daaa7ad1f8b5a1b5f77c8b180fe9a4 100644 --- a/libwccl/ops/functions/tset/getsymbols.h +++ b/libwccl/ops/functions/tset/getsymbols.h @@ -7,6 +7,9 @@ namespace Wccl { +/** + * Operator that gets tagset symbols from a token at given position. + */ class GetSymbols : public Function<TSet> { public: typedef boost::shared_ptr<Function<Position> > PosFunctionPtr; @@ -25,7 +28,7 @@ public: /** * @returns String representation of the function in the form of: - * "attribute_name[pos_expr_string]" + * "raw_attribute_name[pos_expr_raw_string]" * @note This version does not require tagset, but will be inclomplete * and/or contain internal info. */ diff --git a/libwccl/parser/Parser.cpp b/libwccl/parser/Parser.cpp index 0464fe51571b720cfc1ceb3fc334cbe90cfaba44..976297f4bf49ad0c26693540ac2c8dd5bfd29def 100644 --- a/libwccl/parser/Parser.cpp +++ b/libwccl/parser/Parser.cpp @@ -176,7 +176,7 @@ boost::shared_ptr<ANTLRParserResultBase> Parser::parseAnyOperator( ANTLRLexer lexer(ss); ANTLRParser parser(lexer); try { - result = parser.parse_position_operator(tagset_); + result = parser.parse_symset_operator(tagset_); } catch (antlr::ANTLRException& e) { errors << "(as tset) " << e.getMessage() << "\n"; // ignore, try another type