Skip to content

Commit

Permalink
parse的准确性
Browse files Browse the repository at this point in the history
  • Loading branch information
leinlin committed Oct 26, 2019
1 parent 0e1e70d commit 9357eef
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 56 deletions.
2 changes: 1 addition & 1 deletion LuaProfiler/Exsample/Assets/LuaProfiler.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,7 @@ static void InsertSample(LLex l, ref int lastPos, ref int nextPos, int tokenType
}
break;
case (int)TK.IF:
case (int)TK.FOR:
case (int)TK.WHILE:
case (int)TK.DO:
if (tokens.Count > 0)
{
tokens.Push(tokenType);
Expand Down Expand Up @@ -270,8 +269,7 @@ static void InsertSample(LLex l, ref int lastPos, ref int nextPos, int tokenType
}
if (tokens.Count > 0)
{
var tA = tokens.ToArray();
lastStackToken = tA[tA.Length - 1];
lastStackToken = tokens.Peek();
}
hasReturn = false;
}
Expand Down
Binary file not shown.
51 changes: 0 additions & 51 deletions LuaProfiler/Exsample/Logs/Packages-Update.log

This file was deleted.

0 comments on commit 9357eef

Please sign in to comment.