Shader: compilation fixes

This commit is contained in:
Jérôme Leclercq
2021-04-15 14:01:36 +02:00
parent fce336bfc9
commit 9fd4249a87
4 changed files with 30 additions and 27 deletions

View File

@@ -14,10 +14,10 @@
namespace Nz::ShaderLang
{
class AttributeError : public std::exception
class AttributeError : public std::runtime_error
{
public:
using exception::exception;
using runtime_error::runtime_error;
};
class ExpectedToken : public std::exception
@@ -26,10 +26,10 @@ namespace Nz::ShaderLang
using exception::exception;
};
class DuplicateIdentifier : public std::exception
class DuplicateIdentifier : public std::runtime_error
{
public:
using exception::exception;
using runtime_error::runtime_error;
};
class ReservedKeyword : public std::exception