def parse_positional_flags(source, info, flags_on, flags_off):
 version = ((info.flags & _ALL_VERSIONS) or DEFAULT_VERSION)
 if (version == VERSION0):
  if flags_off:
   raise error('bad inline flags: cannot turn flags off', source.string, source.pos)
  new_global_flags = (flags_on & (~ info.global_flags))
  if new_global_flags:
   info.global_flags |= new_global_flags
   raise _UnscopedFlagSet(info.global_flags)
 else:
  info.flags = ((info.flags | flags_on) & (~ flags_off))
 source.ignore_space = bool((info.flags & VERBOSE))

def parse_positional_flags ( source , info , flags_on , flags_off ) : version = ( ( info . flags & _ALL_VERSIONS ) or DEFAULT_VERSION ) if ( version == VERSION0 ) : if flags_off : raise error ( 'bad inline flags: cannot turn flags off' , source . string , source . pos ) new_global_flags = ( flags_on & ( ~ info . global_flags ) ) if new_global_flags : info . global_flags |= new_global_flags raise _UnscopedFlagSet ( info . global_flags ) else : info . flags = ( ( info . flags | flags_on ) & ( ~ flags_off ) ) source . ignore_space = bool ( ( info . flags & VERBOSE ) )
parses positional flags .