[BACK]Return to parse.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ctfconv

Diff for /src/usr.bin/ctfconv/parse.c between version 1.12 and 1.13

version 1.12, 2019/11/07 13:36:03 version 1.13, 2019/11/07 13:42:54
Line 1138 
Line 1138 
                  * Nested declaration.                   * Nested declaration.
                  *                   *
                  * This matches the case where a ``struct'', ``union'',                   * This matches the case where a ``struct'', ``union'',
                  * ``enum'' or ``typedef'' is first declared "inside" a                   * ``enum'', ``typedef'' or ``static'' variable is first
                  * function declaration.                   * declared inside a function declaration.
                  */                   */
                 if (tag == DW_TAG_structure_type || tag == DW_TAG_union_type ||                  switch (tag) {
                     tag == DW_TAG_enumeration_type || tag == DW_TAG_typedef)                  case DW_TAG_structure_type:
                   case DW_TAG_union_type:
                   case DW_TAG_enumeration_type:
                   case DW_TAG_typedef:
                   case DW_TAG_variable:
                         continue;                          continue;
                   default:
                           break;
                   }
   
                 if (tag != DW_TAG_formal_parameter)                  if (tag != DW_TAG_formal_parameter)
                         break;                          break;

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13