Fix for state change without state name passing syntax-check.
git-svn-id: https://lsleditor.svn.sourceforge.net/svnroot/lsleditor@60 3f4676ac-adda-40fd-8265-58d1435b1672
This commit is contained in:
parent
370abf4699
commit
c12d97756b
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ namespace LSLEditor
|
||||||
|
|
||||||
// State change, excluding global functions
|
// State change, excluding global functions
|
||||||
regex = new Regex(
|
regex = new Regex(
|
||||||
@"(\s+)state\s+(\w*)(\s*;)",
|
@"(\s+)state\s+(\w+)(\s*;)",
|
||||||
RegexOptions.IgnorePatternWhitespace
|
RegexOptions.IgnorePatternWhitespace
|
||||||
| RegexOptions.Compiled
|
| RegexOptions.Compiled
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue