webengine/webkitutils/stmgesturefw/src/stateengine.cpp
branchCompilerCompatibility
changeset 53 0209b9093082
parent 42 d39add9822e2
--- 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<CStateEngine,&CStateEngine::##x>
-#define ACT(x) aF<CStateEngine,&CStateEngine::##x>
+#define CND(x) isF<CStateEngine,&CStateEngine::x>
+#define ACT(x) aF<CStateEngine,&CStateEngine::x>
 
 /*********************************************************************************
  * empty statedef as a dummy entry