Cleaned up the circular dependecies and remaining issues

Changed: The []= operator for strings and sequences is now capable of splicing
This commit is contained in:
Zahary Karadjov 2011-10-06 03:55:02 +03:00
commit e3deb5b502
11 changed files with 105 additions and 100 deletions

View file

@ -440,7 +440,7 @@ proc semTry(c: PContext, n: PNode): PNode =
var length = sonsLen(a)
if a.kind == nkExceptBranch:
if length == 2 and a.sons[0].kind == nkBracket:
a.sons.splice(0, 1, a.sons[0].sons)
a.sons[0..0] = a.sons[0].sons
length = a.sonsLen
for j in countup(0, length - 2):