parameters: (snd)
return_statement: return name
docstring: Generate label name from filename entry.
docstring_summary: Generate label name from filename entry.
docstring_tokens: Generate label name from filename entry .
function: def getname(snd):
      """Generate label name from filename entry."""
      fname = snd['FILENAME']
      name = fname[fname.rfind('\\')+1:-4]
      if 'STACK_SIZE' in snd:
          name += '-' + str(int(snd['STACK_SIZE']))
  
      return name
function_tokens: def getname ( snd ) : fname = snd [ 'FILENAME' ] name = fname [ fname . rfind ( '\\' ) + 1 : - 4 ] if 'STACK_SIZE' in snd : name += '-' + str ( int ( snd [ 'STACK_SIZE' ] ) ) return name