assign_flag_to_scope(flag, GLOBAL_SCOPE)
scope, flags = self._consume_scope()
while scope:
scope_to_flags[scope].extend([]) // Force the scope to appear, even if empty.
for flag in flags:
assign_flag_to_scope(flag, scope)
scope, flags = self._consume_scope()
After Change
Returns a SplitArgs tuple.
scope_to_flags = OrderedDict()
def add_scope(s):
// Force the scope to appear, even if empty.
if s not in scope_to_flags: