Fix type parser for types with keyword prefix

E.g. a type `constant` would become `const ant`.
This commit is contained in:
Jonathan Müller 2017-10-09 09:20:35 +02:00
commit 8e6c5ccf71
2 changed files with 54 additions and 21 deletions

View file

@ -19,6 +19,10 @@ template<template<typename>class... T>
struct templated{
};
using struct_=int;
struct_ var2;
struct foo{
int a;
@ -56,6 +60,10 @@ struct templated
{
};
using struct_ = int;
struct_ var2;
struct foo
{
int a;