Index: trunk/src/plugins/hlibrary_fs/hlibrary_fs.c =================================================================== --- trunk/src/plugins/hlibrary_fs/hlibrary_fs.c (revision 10232) +++ trunk/src/plugins/hlibrary_fs/hlibrary_fs.c (revision 10233) @@ -54,8 +54,12 @@ csch_lib_type_t hlibrary_fs_file_type(rnd_design_t *hl, const char *fn) { - return CSCH_SLIB_STATIC; - TODO("test-parse and return this if not a sheet:"); + int res; + + res = csch_test_parse_fn(hl, fn, CSCH_IOTYP_SHEET); + if (res == 0) + return CSCH_SLIB_STATIC; + return CSCH_SLIB_invalid; }