}
}
}
-
+{
+ #define FOO "\xD\xE\xA\xD\xB\xE\xE\xF\xD\xE\xA\xD\xB\xE\xE\xF"
+ char *foo = util_strdup(FOO FOO FOO FOO "hello world!");
+ (void)foo;
+}
cleanup:
util_debug("COM", "cleaning ...\n");
- ftepp_finish();
+ if (ftepp)
+ ftepp_finish(ftepp);
con_close();
vec_free(items);
vec_free(ppems);
}
}
- if (parser->tok != '{') {
+ if (parser->tok != '{' || var->expression.vtype != TYPE_FUNCTION) {
if (parser->tok != '=') {
- parseerror(parser, "missing semicolon or initializer, got: `%s`", parser_tokval(parser));
+ const char *obtain = parser_tokval(parser);
+ if (!strcmp(obtain, "}"))
+ parseerror(parser, "missing semicolon");
+ else
+ parseerror(parser, "missing initializer");
break;
}