PERFORCE change 231326 for review
Jonathan Anderson
jonathan at FreeBSD.org
Sun Jul 21 19:07:52 UTC 2013
http://p4web.freebsd.org/@@231326?ac=10
Change 231326 by jonathan at jonathan-on-zenith on 2013/07/21 19:07:46
Pull in new UPTO definition from TESLA commit 892f32.
Affected files ...
.. //depot/projects/ctsrd/tesla/src/sys/contrib/tesla/include/tesla-macros.h#8 edit
Differences ...
==== //depot/projects/ctsrd/tesla/src/sys/contrib/tesla/include/tesla-macros.h#8 (text+ko) ====
@@ -92,7 +92,7 @@
#define optional(...) __tesla_optional(TIGNORE, __VA_ARGS__)
#define ANY_REP INT_MAX
#define REPEAT(m, n, ...) __tesla_repeat(m, n, __VA_ARGS__)
-#define UPTO(n, ...) __tesla_repeat(0, n, __VA_ARGS__)
+#define UPTO(n, ...) __tesla_repeat(1, n, __VA_ARGS__)
#define ATLEAST(n, ...) __tesla_repeat(n, ANY_REP, __VA_ARGS__)
#define ANY(int_type) __tesla_any(int_type)
More information about the p4-projects
mailing list