From 4a75c7dcc022d88a2d191f498e0f3160d6ec2dae Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Sun, 7 Jul 2013 16:09:26 +0200 Subject: [PATCH] allow backticks in names --- components/compiler/scanner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/compiler/scanner.cpp b/components/compiler/scanner.cpp index 379d214e30..08791d0eae 100644 --- a/components/compiler/scanner.cpp +++ b/components/compiler/scanner.cpp @@ -343,7 +343,7 @@ namespace Compiler } else if (!(c=='"' && name.empty())) { - if (!(std::isalpha (c) || std::isdigit (c) || c=='_' || + if (!(std::isalpha (c) || std::isdigit (c) || c=='_' || c=='`' || /// \todo add an option to disable the following hack. Also, find out who is /// responsible for allowing it in the first place and meet up with that person in /// a dark alley.