WIP: adjusting simple parser for C++17 (somewhat)

This commit is contained in:
Matthias Koefferlein
2021-11-27 00:08:50 +01:00
parent f4c0a43d49
commit aeba3f5df8
5 changed files with 85 additions and 53 deletions
@@ -404,13 +404,7 @@ end
module PClassTemplateArg
def cpp
CPPClassTemplateArg::new(id.text_value, dtspec.nonterminal? ? dtspec.cpp : nil)
end
end
module PDirectTemplateArg
def cpp
CPPDirectTemplateArg::new(t.cpp, initspec.nonterminal? ? initspec.text_value : nil)
CPPClassTemplateArg::new(t.cpp, dtspec.nonterminal? ? dtspec.cpp : nil)
end
end