Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jun 2013 17:09:20 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 229509 for review
Message-ID:  <201306081709.r58H9KlK046655@skunkworks.freebsd.org>

index | next in thread | raw e-mail

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

Change 229509 by rwatson@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


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306081709.r58H9KlK046655>