]> git.lyx.org Git - features.git/commitdiff
Tweaks.
authorAngus Leeming <leeming@lyx.org>
Wed, 27 Nov 2002 12:50:45 +0000 (12:50 +0000)
committerAngus Leeming <leeming@lyx.org>
Wed, 27 Nov 2002 12:50:45 +0000 (12:50 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5730 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/xforms/forms/fdfixh.sed
src/frontends/xforms/forms_gettext.h

index 62c5e2969a8e421f3a61b758dae4db3b25babcbb..e6c6f23fa8e23a50e545e862b70503bb0de73745 100644 (file)
@@ -69,8 +69,7 @@ s/extern \(.*\) create_form_form_\(.*\)[(]void[)]/\1 build_\2(void *)/
 
 # All other lines are deleted:
 /^typedef struct/d
-/^     FL_FORM/d
-/[vcl]data/d
+/^     /{; /FL_OBJECT/!d; }
 
 
 # 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
 # contents of the hold space.
-/} FD_/{
+/^} FD_.*;/{
 
 # 1. Rewrite "} FD_xxx;" as   "\nstruct FD_xxx : public FD_base {".
 s/} \(.*\);/\
index 6f1f9870bf47f1156cbf17ad657ce94d4023386a..449ba1b4c5b3c6bdc8cb0628205b3e8f0d18bf7a 100644 (file)
@@ -19,7 +19,7 @@
 /// Extract shortcut from "<ident>|<shortcut>" string
 char const * scex(char const *);
 
-/// Extract ident from "<ident>|<shortcut>" string
+/// Extract identifier from "<ident>|<shortcut>" string
 char const * idex(char const *);
 
 #endif // FORMS_GETTEXT_H