Fix errors in dynamic HTML pragma test file.
Merge branch 'master' of github.com:atlesn/P-star
Block child states had to be reset in while loops because we might call functions in arrays of structs, and expressions futher down caches variables.