PERFORCE change 229509 for review

Robert Watson rwatson at FreeBSD.org
Sat Jun 8 17:09:21 UTC 2013


http://p4web.freebsd.org/@@229509?ac=10

Change 229509 by rwatson at rwatson_cinnamon on 2013/06/08 17:08:51

	tesla-macros.h is intended to be promiscuous with C namespaces,
	but "done" is a bit too promiscuous, as it conflicts with many
	"done" labels in the FreeBSD kernel source.  Rename to "tdone"
	for now, but actually "tesla_done" would be better.

Affected files ...

.. //depot/projects/ctsrd/tesla/src/sys/contrib/tesla/include/tesla-macros.h#2 edit

Differences ...

==== //depot/projects/ctsrd/tesla/src/sys/contrib/tesla/include/tesla-macros.h#2 (text+ko) ====

@@ -82,7 +82,7 @@
 
 #define automaton(name, ...)    __tesla_automaton(name, __VA_ARGS__)
 
-#define	done return (__tesla_automaton_done())
+#define	tdone return (__tesla_automaton_done())
 
 #define	optional(...)	__tesla_optional(__tesla_ignore, __VA_ARGS__)
 #define	ANY_REP	INT_MAX


More information about the p4-projects mailing list