diff --git a/README.md b/README.md index fb0351f..7787b86 100644 --- a/README.md +++ b/README.md @@ -84,8 +84,8 @@ Here are available actions: ```c++ struct SemanticValue { - peglib::any val; // Semantic value - std::string name; // Definition name for the sematic value + any val; // Semantic value + const char* name; // Definition name for the sematic value const char* s; // Token start for the semantic value size_t n; // Token length for the semantic value @@ -104,8 +104,7 @@ struct SemanticValues : protected std::vector std::string str() const; // Transform the semantice value vector to another vector - template - vector transform(size_t beg = 0, size_t end = -1) const; + template vector transform(size_t beg = 0, size_t end = -1) const; } ```