Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Commit

Permalink
Token check for crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
worksofliam committed Feb 16, 2018
1 parent 2806d1b commit d1cf564
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion ILEditor/Classes/LanguageTools/RPGParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ public static Function[] Parse(string Code)
lexer = new RPGLexer();
lexer.Lex(CurrentLine);
Tokens = lexer.GetTokens();


if (Tokens.Count == 0) continue;

token = Tokens[0];
switch (token.Type)
{
Expand Down
2 changes: 1 addition & 1 deletion ILEditor/ILEditor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<PublisherName>Works Of Barry</PublisherName>
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
<WebPage>index.html</WebPage>
<ApplicationRevision>13</ApplicationRevision>
<ApplicationRevision>14</ApplicationRevision>
<ApplicationVersion>3.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>true</UseApplicationTrust>
<CreateDesktopShortcut>true</CreateDesktopShortcut>
Expand Down
2 changes: 1 addition & 1 deletion ILEditor/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.3.1.0")]
[assembly: AssemblyVersion("1.3.1.1")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: NeutralResourcesLanguage("en-GB")]

Expand Down

0 comments on commit d1cf564

Please sign in to comment.