add missing NULLs in arith sample
simplify abr_do_name child check
prevent parser double free when recursion