fixed constant folding, left in a test value so variable names weren't being declared correctly, also added some returns , at first used ErrorSTO, but forgot that the DoConstDecl function returs void.