Skip the alias marker in the qjs loader

This commit is contained in:
pancake 2023-05-14 22:50:49 +02:00 committed by pancake
parent 4bff10ff8c
commit 1c8bd6d592

View File

@ -99,6 +99,12 @@ static int r2qjs_loader(JSContext *ctx, const char *const buffer) {
if (!nl) {
break;
}
if (strstr (ptr, alias_marker)) {
// skip line
// R_LOG_INFO ("ALIAS %s", ptr);
ptr = nl + 1;
continue;
}
int size = atoi (ptr);
if (size < 1) {
break;