core: hide value parser constants
core: fix 'if' processing in 'do/while' loop