• Per Cederqvist's avatar
    (defined_request_names): New variable. · cd36209c
    Per Cederqvist authored
    (defined_request_names): New variable.
    (defined_async_names): New variable.
    (set_values): New variable.
    (tt): New variable.
    (tr): New variable.
    (rt): New variable.
    (rr): New variable.
    (at): New variable.
    (ar): New variable.
    (has_suffix): New function.
    (remove_suffix): New function.
    (prot_a_type.__init__): Initialize __protover.
    (prot_a_type.line_no): Renamed from line().
    (prot_a_type.use): New argument: protover.  All callers
    	and derived methods updated.
    (prot_a_type.protover): New method.
    (prot_a_builtin.use_recurse): Ditto.
    (prot_a_simple.base_type): New method.
    (prot_a_simple.array): New method.
    (prot_a_alternate.type_a): New method.
    (prot_a_alternate.type_b): New method.
    (prot_a_struct.fields): New method.
    (prot_a_bitstring.add_field): Store the bits in the order they are
    	defined.
    (prot_a_bitstring.bits): New method.
    (prot_a_selection.fields): New method.
    (prot_a_enumeration_of.base_type): New method.
    (prot_a_msg): New class.
    (prot_a_request): New class.
    (prot_a_async): New class.
    (menu): New class.
    (reader.menu_re): New constant.
    (reader.getc_eofok): If a menu line for a request or async message
    	is found, store the information.
    (reader.menu): New method.
    (lexer.section_re): New method.
    (lexer.__init__): __implemented_conftypes and
    	__implemented_privbits both maps to None, not a random number.
    (lexer.run): If __toplevel_at() returns a non-None value, return it.
    (lexer.__toplevel_at): Return the result of the called "toplevel_"
    	method instead of always returning None.
    (lexer.toplevel_set): New method.
    (lexer.toplevel_section): New method.
    (lexer.toplevel_findex): Store information about the request in a
    	prot_a_request instance.  Check the corresponding @section
    	heading and @menu item.
    (lexer.toplevel_amindex): Ditto for asyncs.
    (lexer.__parse_async): New API.
    (lexer.toplevel_bye): Generate stable names.  Return the error
    	flag instead of calling sys.exit().
    (lexer.__parse_request): New API.
    (lexer.__parse_type): New argument: protover.
    (lexer.__parse_request_arg): Ditto.  Return the parsed info.
    (lexer.__bad_arg): Fixed minor typo.
    (lexer.generate_stable_names): New method.
    (generate_stable_output): New function.
    cd36209c
checkargs.py 68.1 KB