{"push_id":882638994,"size":6,"distinct_size":6,"ref":"refs/heads/master","head":"b237daed2095c1e138761fb94a01d53ba2c80c95","before":"002f6417a1bc750aa371e8c983417c874dde0cc0","commits":[{"sha":"c172f266b4b611cb69bde3b46e4be350819cde73","author":{"email":"3960c7a657424a1bd3cb8ed47f6992e881643050@gmail.com","name":"Oleksii Taran"},"message":"Fix \"CODE\" symbol collision on OS X (see #122)\n\nOn OS X bison generates token enums as CPP macro\nconstants (y.tab.h):\n    #define CODE 260\nwhile on my box it's\n   enum yytokentype {\n     ...\n     CODE = 260,\n     ...\n   };\n\nThat #define causes symbol collision as:\n\n    ../src/parse/lex.re:169:38: error: expected unqualified-id\n                                            else if (opts->target == opt_t::CODE)\n                                                                            ^\n    src/parse/y.tab.h:58:14: note: expanded from macro 'CODE'\n    #define CODE 260\n\nRenamed enum entry to TOKEN_CODE.","distinct":true,"url":"https://api.github.com/repos/otaran/re2c/commits/c172f266b4b611cb69bde3b46e4be350819cde73"},{"sha":"f65caba520107cb88a7258df07fdf2936557b008","author":{"email":"66a62e5dfa0b70c73ceb2b4a6a648939bb61f49b@gmail.com","name":"Ulya Trofimovich"},"message":"Don't use overloaded constructors with integral types.\n\nThis causes ambiguity in overload resolution on OS X:\n\n    src/codegen/skeleton/generate_data.cc:308:30: error: ambiguous conversion for functional-style cast from 'const size_t' (aka 'const unsigned long') to 'Node::covers_t'\n          (aka 'u32lim_t<1024 * 1024 * 1024>')\n            const Node::covers_t size = Node::covers_t (len) * Node::covers_t (count);\n                                        ^~~~~~~~~~~~~~~~~~~\n    ./src/util/u32lim.h:20:11: note: candidate constructor\n            explicit u32lim_t (uint32_t x)\n                     ^\n    ./src/util/u32lim.h:23:11: note: candidate constructor\n            explicit u32lim_t (uint64_t x)\n\nUse static constructor-like methods with expliit names.","distinct":true,"url":"https://api.github.com/repos/otaran/re2c/commits/f65caba520107cb88a7258df07fdf2936557b008"},{"sha":"d80507eadd56413ec5885762b54604084fcf6584","author":{"email":"66a62e5dfa0b70c73ceb2b4a6a648939bb61f49b@gmail.com","name":"Ulya Trofimovich"},"message":"Makefile.am: use '=' instead of '==' to compare strings.\n\n'==' appears to be a bash feature.","distinct":true,"url":"https://api.github.com/repos/otaran/re2c/commits/d80507eadd56413ec5885762b54604084fcf6584"},{"sha":"2daef3c2791f8973a32a1c59326fdd3b570777c9","author":{"email":"66a62e5dfa0b70c73ceb2b4a6a648939bb61f49b@gmail.com","name":"Ulya Trofimovich"},"message":"run_tests.sh: use '/usr/bin/env bash' to locate bash.","distinct":true,"url":"https://api.github.com/repos/otaran/re2c/commits/2daef3c2791f8973a32a1c59326fdd3b570777c9"},{"sha":"8a361fe0b3e482302749fde5d7ffd33f318214a1","author":{"email":"66a62e5dfa0b70c73ceb2b4a6a648939bb61f49b@gmail.com","name":"Ulya Trofimovich"},"message":"Fixed crashes of 'ostream& operator<< (ostream& os, const char* s)' on NULL.\n\nCrashes observed on platforms OS X (clang-7.0.0) and FreeBSD-10.2 (clang-3.4).\nFirst reported in bug #122 \"clang does not compile re2c 0.15.x\".\n\nWhat caused NULL passed to 'operator <<': re2c always generates content of\nheader file (regardless of '-t --type-header' option), but the content is\ndumped to file (and header filename initialized to non-NULL) only if the\noption was enabled.\n\nFix: always initialize header filename to non-NULL string.","distinct":true,"url":"https://api.github.com/repos/otaran/re2c/commits/8a361fe0b3e482302749fde5d7ffd33f318214a1"},{"sha":"b237daed2095c1e138761fb94a01d53ba2c80c95","author":{"email":"df7d2cee2e7ececeb2368216a0f9d0537fd32149@google.com","name":"Sergei Trofimovich"},"message":"Get rid of UINT32_MAX and friends\n\nUINT32_MAX is conditionally defined only\nfor C compiler on FreeBSD but not for C++,\n\nStop using __STDC_LIMIT_MACROS workaround\nas it does not work on FreeBSD.\n\nUse std::numeric_limits<> from C++98 instead.\n\nSigned-off-by: Sergei Trofimovich <siarheit@google.com>","distinct":true,"url":"https://api.github.com/repos/otaran/re2c/commits/b237daed2095c1e138761fb94a01d53ba2c80c95"}]}