]> granicus.if.org Git - re2c/commit
Get rid of UINT32_MAX and friends 124/head
authorSergei Trofimovich <siarheit@google.com>
Sat, 28 Nov 2015 18:11:58 +0000 (18:11 +0000)
committerSergei Trofimovich <siarheit@google.com>
Sat, 28 Nov 2015 18:31:59 +0000 (18:31 +0000)
commitb237daed2095c1e138761fb94a01d53ba2c80c95
tree087c488f0d3464cb50ae6207ba0f19a5166d9871
parent8a361fe0b3e482302749fde5d7ffd33f318214a1
Get rid of UINT32_MAX and friends

UINT32_MAX is conditionally defined only
for C compiler on FreeBSD but not for C++,

Stop using __STDC_LIMIT_MACROS workaround
as it does not work on FreeBSD.

Use std::numeric_limits<> from C++98 instead.

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
re2c/bootstrap/src/parse/lex.cc
re2c/bootstrap/src/parse/parser.cc
re2c/src/codegen/skeleton/maxlen.cc
re2c/src/codegen/skeleton/skeleton.cc
re2c/src/ir/rule_rank.cc
re2c/src/parse/lex.re
re2c/src/parse/parser.ypp
re2c/src/test/s_to_n32_unsafe/test.cc
re2c/src/util/s_to_n32_unsafe.cc