summaryrefslogtreecommitdiff
path: root/archivers/xmill/patches/patch-ag
blob: 54616824bfdcb8d15c213c63989f24eeb521cabe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- 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