Ejemplo n.º 1
0
        //Called when any lexical scope ends
        private void EndScope()
        {
            currentScope = currentScope.Parent != null ? currentScope.Parent : null;

            if (isDebug)
            {
                pdb.EndScope(cw.Offset, Line(lastLocation), Col(lastLocation));
            }
        }
Ejemplo n.º 2
0
        //Called when a lexical scope ends.
        private void EndScope()
        {
            CurrentScope = CurrentScope.Parent != null ? CurrentScope.Parent : null;

            if (debug)
            {
                pdb.EndScope(cw.Offset, lastLine, lastColumn);
            }
        }