diff options
author | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2015-05-22 17:32:21 +0100 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2015-05-22 17:32:21 +0100 |
commit | a7dea04b2642397d3d545e2dbd0885939180d76c (patch) | |
tree | de357451c5368e2c1ca2f544db8f30729728dc71 /src/bin/eolian/main.c | |
parent | d5599521172af414beb63ad52d68830e0c6fa1f4 (diff) |
eolian: merge eo_file_parse and eot_file_parse
Diffstat (limited to '')
-rw-r--r-- | src/bin/eolian/main.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/bin/eolian/main.c b/src/bin/eolian/main.c index b198a234ed..22675fcb0a 100644 --- a/src/bin/eolian/main.c +++ b/src/bin/eolian/main.c | |||
@@ -397,14 +397,7 @@ int main(int argc, char **argv) | |||
397 | 397 | ||
398 | is_eo = eina_str_has_suffix(eo_filename, EO_SUFFIX); | 398 | is_eo = eina_str_has_suffix(eo_filename, EO_SUFFIX); |
399 | 399 | ||
400 | if (!is_eo && !eina_str_has_suffix(eo_filename, EOT_SUFFIX)) | 400 | if (!eolian_file_parse(eo_filename)) |
401 | { | ||
402 | ERR("The input file %s doesn't have a correct extension (.eo/.eot).\n", eo_filename); | ||
403 | goto end; | ||
404 | } | ||
405 | |||
406 | if ((is_eo && !eolian_eo_file_parse(eo_filename)) || | ||
407 | (!is_eo && !eolian_eot_file_parse(eo_filename))) | ||
408 | { | 401 | { |
409 | ERR("Error during parsing file %s\n", eo_filename); | 402 | ERR("Error during parsing file %s\n", eo_filename); |
410 | goto end; | 403 | goto end; |