diff options
Diffstat (limited to 'src/input.cc')
-rw-r--r-- | src/input.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input.cc b/src/input.cc index 0c0c819..1b2c459 100644 --- a/src/input.cc +++ b/src/input.cc @@ -713,7 +713,7 @@ Input::read_input () _struct_decl = struct_decl; /* Set _struct_tag to the naked "struct something". */ const char *p; - for (p = struct_decl; *p && *p != '{' && *p != '\n'; p++) + for (p = struct_decl; *p && *p != '{' && *p != ';' && *p != '\n'; p++) ; for (; p > struct_decl;) if (p[-1] == '\n' || p[-1] == ' ' || p[-1] == '\t') |