From ae0cc457cffde119eea402739957cacb22564773 Mon Sep 17 00:00:00 2001 From: ImaMechanique Date: Thu, 8 Dec 2011 15:27:39 +0000 Subject: [PATCH] Fix for state change without state name passing syntax-check. --- trunk/Helpers/LSL2CSharp.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/Helpers/LSL2CSharp.cs b/trunk/Helpers/LSL2CSharp.cs index 83ab770..cf8f33c 100644 --- a/trunk/Helpers/LSL2CSharp.cs +++ b/trunk/Helpers/LSL2CSharp.cs @@ -175,7 +175,7 @@ namespace LSLEditor // State change, excluding global functions regex = new Regex( - @"(\s+)state\s+(\w*)(\s*;)", + @"(\s+)state\s+(\w+)(\s*;)", RegexOptions.IgnorePatternWhitespace | RegexOptions.Compiled );