summaryrefslogtreecommitdiff
path: root/src/core/parser/stack/TokenStack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/parser/stack/TokenStack.cpp')
-rw-r--r--src/core/parser/stack/TokenStack.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/parser/stack/TokenStack.cpp b/src/core/parser/stack/TokenStack.cpp
index 6afeaed..ac1d94e 100644
--- a/src/core/parser/stack/TokenStack.cpp
+++ b/src/core/parser/stack/TokenStack.cpp
@@ -21,7 +21,7 @@
namespace ousia {
namespace parser_stack {
-void TokenStack::pushTokens(const std::vector<TokenSyntaxDescriptor> &tokens)
+void TokenStack::pushTokens(const std::vector<SyntaxDescriptor> &tokens)
{
stack.push_back(tokens);
}
@@ -35,7 +35,7 @@ TokenSet TokenStack::tokens() const
}
TokenSet res;
- for (const TokenSyntaxDescriptor &descr : stack.back()) {
+ for (const SyntaxDescriptor &descr : stack.back()) {
descr.insertIntoTokenSet(res);
}
return res;