Daily update on 20250721-223448 by Nitload Youmu. Additional Message : Rename StgSHarp.C to StgSharp.Native. Add SDL to repo.

Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
Nitload
2025-07-21 22:34:48 +08:00
parent c624a8ca38
commit 28ea5d1d1e
1215 changed files with 628924 additions and 114 deletions
+3 -3
View File
@@ -51,10 +51,11 @@ namespace StgSharp.Script
private Token[] _tokenArray = new Token[4];
private int _nodeCount,_tokenCount, _operatorCount;
private RandomAccessibleStack<CompileDepthMark> _depthStack = new RandomAccessibleStack<CompileDepthMark>(
);
private RandomAccessibleStack<OperandIndex> _isNode = new RandomAccessibleStack<OperandIndex>(
8 );
private Stack<CompileDepthMark> _depthStack = new Stack<CompileDepthMark>();
private Stack<Stack<TNode>> _statementCache = new Stack<Stack<TNode>>();
private TNode _lastNode;
@@ -92,8 +93,6 @@ namespace StgSharp.Script
get => _statementCache.Peek();
}
public Stack<CompileDepthMark> DepthStack => _depthStack;
public void DecreaseDepth()
{
CompileDepthMark mark = _depthStack.Pop();
@@ -123,6 +122,7 @@ namespace StgSharp.Script
out TNode operandNode )
{
OperandIndex index = _isNode[ i ];
_depthStack.Contains( depth );
if( index.IsNode )
{