summaryrefslogtreecommitdiffstats
path: root/source/slang/compiler.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-07-13 09:54:47 -0700
committerGitHub <noreply@github.com>2017-07-13 09:54:47 -0700
commitc963b44aa48a4349e20a0afcd423b55b1996d2fa (patch)
tree88f7f0b51d679cc308437461b8c210e828efeda0 /source/slang/compiler.cpp
parent9058358792fa393e0e92af80f24a54a037aa9691 (diff)
parentc51fd4ee8f478aa3d3b7e6208a3a4e9c00e2413a (diff)
Merge pull request #85 from tfoleyNV/working
Various bug fixes
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;