code: def p_defaultFlavor(p):
      
      flist = p[4]
      # Create dictionary of default flavors based on DSP0004 definition
      # of defaults for flavors. This insures that all possible flavors keywords
      # are defined in the created dictionary.
      flavors = {'ENABLEOVERRIDE': True,
                 'TOSUBCLASS': True,
                 'TOINSTANCE': False,
                 'DISABLEOVERRIDE': False,
                 'RESTRICTED': False,
                 'TRANSLATABLE': False}
      for i in flist:
          flavors[i] = True
      p[0] = flavors
docs: defaultFlavor : ',' FLAVOR '(' flavorListWithComma ')