$NetBSD: patch-ag,v 1.2 2003/10/18 13:20:31 cjep Exp $
--- src/FSM.hpp.orig	2003-10-07 01:48:36.000000000 +1000
+++ src/FSM.hpp	2003-10-07 01:49:08.000000000 +1000
@@ -88,8 +88,8 @@
 class FSMState
    // Represents a state in the FSM
 {
-   friend FSM;
-   friend FSMEdge;
+   friend class FSM;
+   friend class FSMEdge;
    unsigned isfinal:1;        // Final state?
    unsigned isaccepting:1;    // Determines whether the FSM in that (final) state
                               // will definitely accept
@@ -177,8 +177,8 @@
 class FSMEdge
    // Represents an edge in the FSM
 {
-   friend FSMState;
-   friend FSM;
+   friend class FSMState;
+   friend class FSM;
 
    unsigned type;          // Type of the edge (EDGETYPE_...)
    FSMState *nextstate;    // The state that is reached by this edge
