Fix for state change without state name passing syntax-check.
This commit is contained in:
parent
dd11201200
commit
ae0cc457cf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue