Enlightenment CVS committal Author : rephorm Project : e17 Module : libs/efreet
Dir : e17/libs/efreet/src/bin Modified Files: ef_menu.c main.c Log Message: This isn't correct. <Parent> <!-- <!-- comment --> <Child>Text</Child> --> </Parent> Technically would be parsed as: Parent Tag Child Tag Text Node - "Text" Text Node "-->" But, we ignore text nodes after the first child node anyway. =================================================================== RCS file: /cvs/e/e17/libs/efreet/src/bin/ef_menu.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- ef_menu.c 27 Apr 2007 19:48:54 -0000 1.5 +++ ef_menu.c 27 Apr 2007 19:57:38 -0000 1.6 @@ -60,21 +60,6 @@ } int -ef_cb_menu_with_bad_comment(void) -{ - Efreet_Menu *menu; - - menu = efreet_menu_parse(PACKAGE_DATA_DIR"/efreet/test/test_menu_bad_comment.menu"); - if (!menu) - { - printf("efreet_menu_get() returned NULL\n"); - return 0; - } - - return 1; -} - -int ef_cb_menu_save(void) { Efreet_Menu *menu; =================================================================== RCS file: /cvs/e/e17/libs/efreet/src/bin/main.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- main.c 27 Apr 2007 19:48:54 -0000 1.5 +++ main.c 27 Apr 2007 19:57:38 -0000 1.6 @@ -23,7 +23,6 @@ #endif int ef_cb_menu_get(void); int ef_cb_menu_with_slashes(void); -int ef_cb_menu_with_bad_comment(void); int ef_cb_menu_save(void); #if 0 int ef_cb_menu_edit(void); @@ -59,7 +58,6 @@ #endif {"Menu Parsing", ef_cb_menu_get}, {"Menu Incorrect Names", ef_cb_menu_with_slashes}, - {"Menu Bad Comment", ef_cb_menu_with_bad_comment}, {"Menu Save", ef_cb_menu_save}, #if 0 {"Menu Edit", ef_cb_menu_edit}, ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs