Add missing check for meta_sym in codegen.cpp