8c43b80
--- ./com.redhat.eclipse.cdt.autotools/src/com/redhat/eclipse/cdt/autotools/ui/editors/RecursiveSingleLineRule.java.fix	2007-05-01 17:53:06.000000000 -0400
8c43b80
+++ ./com.redhat.eclipse.cdt.autotools/src/com/redhat/eclipse/cdt/autotools/ui/editors/RecursiveSingleLineRule.java	2007-05-01 17:53:53.000000000 -0400
8c43b80
@@ -125,10 +125,12 @@ public class RecursiveSingleLineRule ext
8c43b80
 	}
8c43b80
 	
8c43b80
 	public IToken evaluate(ICharacterScanner scanner, boolean resume) {
8c43b80
-		int column;
8c43b80
+		int column = scanner.getColumn();
8c43b80
+		// Check if we are at EOF, in which case rules don't hold
8c43b80
+		if (column < 0)
8c43b80
+			return Token.UNDEFINED;
8c43b80
 		if (!resume) {
8c43b80
 			evalIndex = 0;
8c43b80
-			column = scanner.getColumn();
8c43b80
 			// Check if we are within outer rule boundaries.
8c43b80
 			if (column >= endIndex || column < startIndex) {
8c43b80
 				// If not, then we should evaluate to see if the