git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5730 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-11-27 12:50:45 +00:00
parent 27aa66a6c6
commit 335ee6d4db
2 changed files with 3 additions and 4 deletions

View File

@ -69,8 +69,7 @@ s/extern \(.*\) create_form_form_\(.*\)[(]void[)]/\1 build_\2(void *)/
# All other lines are deleted: # All other lines are deleted:
/^typedef struct/d /^typedef struct/d
/^ FL_FORM/d /^ /{; /FL_OBJECT/!d; }
/[vcl]data/d
# For all lines starting with FL_OBJECT... # For all lines starting with FL_OBJECT...
@ -86,7 +85,7 @@ H; d
# The struct is ended by "} FD_xxx;", so now's the time to paste back the # The struct is ended by "} FD_xxx;", so now's the time to paste back the
# contents of the hold space. # contents of the hold space.
/} FD_/{ /^} FD_.*;/{
# 1. Rewrite "} FD_xxx;" as "\nstruct FD_xxx : public FD_base {". # 1. Rewrite "} FD_xxx;" as "\nstruct FD_xxx : public FD_base {".
s/} \(.*\);/\ s/} \(.*\);/\

View File

@ -19,7 +19,7 @@
/// Extract shortcut from "<ident>|<shortcut>" string /// Extract shortcut from "<ident>|<shortcut>" string
char const * scex(char const *); char const * scex(char const *);
/// Extract ident from "<ident>|<shortcut>" string /// Extract identifier from "<ident>|<shortcut>" string
char const * idex(char const *); char const * idex(char const *);
#endif // FORMS_GETTEXT_H #endif // FORMS_GETTEXT_H