diff options
| author | Bill Spitzak <spitzak@gmail.com> | 1999-12-17 18:35:00 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 1999-12-17 18:35:00 +0000 |
| commit | b101ac281d35a0ded31e14924c0f110eee25d6bb (patch) | |
| tree | 43d89aea3714875ec44e66265db50da45ec4414f /fluid/Fl_Widget_Type.cxx | |
| parent | e7f42fa15f646de02a6c3770111dc5ecaf21266d (diff) | |
Patch from Clemens Hintze to allow declaratons of "typedef" to work.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@954 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Widget_Type.cxx')
| -rw-r--r-- | fluid/Fl_Widget_Type.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx index 75c00928b..121f1a222 100644 --- a/fluid/Fl_Widget_Type.cxx +++ b/fluid/Fl_Widget_Type.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Widget_Type.cxx,v 1.15.2.7 1999/09/08 06:05:00 bill Exp $" +// "$Id: Fl_Widget_Type.cxx,v 1.15.2.8 1999/12/17 18:34:56 bill Exp $" // // Widget type code for the Fast Light Tool Kit (FLTK). // @@ -1219,6 +1219,7 @@ int isdeclare(const char *c) { while (isspace(*c)) c++; if (*c == '#') return 1; if (!strncmp(c,"extern",6)) return 1; + if (!strncmp(c,"typedef",7)) return 1; return 0; } @@ -1745,5 +1746,5 @@ int Fl_Widget_Type::read_fdesign(const char* name, const char* value) { } // -// End of "$Id: Fl_Widget_Type.cxx,v 1.15.2.7 1999/09/08 06:05:00 bill Exp $". +// End of "$Id: Fl_Widget_Type.cxx,v 1.15.2.8 1999/12/17 18:34:56 bill Exp $". // |
