Eolian: No need for --eo version when generating legacy header

This commit is contained in:
Yossi Kantor 2014-03-30 16:13:23 +03:00 committed by Daniel Zaoui
parent 8955c514c7
commit 5c6a6b586a
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ int main(int argc, char **argv)
}
}
if (!eo_version)
if (!eo_version && !(gen_opt==H_GEN && legacy_support))
{
ERR("No eo version specified (use --eo1 or --eo2). Aborting eo generation.\n");
goto end;