# HG changeset patch # User Peter Fordham # Date 1267835446 28800 # Node ID 0209b90930827b7c90be0101ab6c70d85c6c0d1c # Parent 4f66279b1086a359b73110ff86608c52afc9a0ac Bug 2166 - Remove unnecessary token pasting from macros diff -r 4f66279b1086 -r 0209b9093082 webengine/webkitutils/stmgesturefw/src/stateengine.cpp --- a/webengine/webkitutils/stmgesturefw/src/stateengine.cpp Thu Mar 04 15:29:28 2010 -0800 +++ b/webengine/webkitutils/stmgesturefw/src/stateengine.cpp Fri Mar 05 16:30:46 2010 -0800 @@ -39,12 +39,12 @@ not behave correctly. */ -/*! Add macro with token pasting to make creation of the state machine tables easier +/*! Add macro without token pasting to make creation of the state machine tables easier and removing the necessity to write the classname twice. Maybe there would be some better way to do this using templates and typedefs? */ -#define CND(x) isF -#define ACT(x) aF +#define CND(x) isF +#define ACT(x) aF /********************************************************************************* * empty statedef as a dummy entry