summaryrefslogtreecommitdiffstats
path: root/source/slang/compiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/compiler.cpp')
-rw-r--r--source/slang/compiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/compiler.cpp b/source/slang/compiler.cpp
index 284bb200a..4c3885ebf 100644
--- a/source/slang/compiler.cpp
+++ b/source/slang/compiler.cpp
@@ -72,7 +72,7 @@ namespace Slang
Profile Profile::LookUp(char const* name)
{
#define PROFILE(TAG, NAME, STAGE, VERSION) if(strcmp(name, #NAME) == 0) return Profile::TAG;
- #define PROFILE_ALIAS(TAG, NAME) if(strcmp(name, #NAME) == 0) return Profile::TAG;
+ #define PROFILE_ALIAS(TAG, DEF, NAME) if(strcmp(name, #NAME) == 0) return Profile::TAG;
#include "profile-defs.h"
return Profile::Unknown;