fixed a long standing xml parser bug; html parser bugfixes + speed improvements

This commit is contained in:
Araq 2013-06-27 01:04:56 +02:00
commit a674c039fb
7 changed files with 252 additions and 84 deletions

View file

@ -57,14 +57,6 @@ discard """
c()
--> we need a stack of scopes for this analysis
Effect tracking:
We track the effects per proc; forward declarations and indirect calls cause
problems: Forward declarations are computed lazily (we do this pass after
a whole module) and indirect calls are assumed the worst, unless they have
an effect annotation.
"""
type
@ -75,6 +67,7 @@ type
owner: PSym
init: seq[int] # list of initialized variables
guards: TModel # nested guards
locked: seq[PNode] # locked locations
PEffects = var TEffects
proc isLocalVar(a: PEffects, s: PSym): bool =