• temporal's avatar
    Sync code with Google-internal branch. Changes: · f206351d
    temporal authored
    Protoc (parser)
    - Improved error message when an enum value's name conflicts with another
      symbol defined in the enum type's scope, e.g. if two enum types declared
      in the same scope have values with the same name.  This is disallowed for
      compatibility with C++, but this wasn't clear from the error.
    C++
    - Restored the set_foo(const char*) accessor for "bytes" type because some
      code inside Google depends on it.  However, set_foo(const char*, int) is
      still there (and actually is changed to take const void*).
    - Fixed TokenizerTest when compiling with -DNDEBUG on Linux.
    - Other irrelevant tweaks.
    Java
    - Fixed UnknownFieldSet's parsing of varints larger than 32 bits.
    - Fixed TextFormat's parsing of "inf" and "nan".
    - Fixed TextFormat's parsing of comments.
    Python
    - Fixed text_format_test on Windows where floating-point exponents sometimes
      contain extra zeros.
    f206351d
Name
Last commit
Last update
..
protobuf Loading commit data...
__init__.py Loading commit data...