Don't allow the left machine of <: to escape through the right machine via the
[external/ragel.git] / ragel / ragel.h
index 3a6ee81..53baa0e 100644 (file)
@@ -57,7 +57,7 @@ extern char mainMachine[];
 /* Location in an input file. */
 struct InputLoc
 {
-       char *fileName;
+       const char *fileName;
        int line;
        int col;
 };
@@ -67,9 +67,8 @@ std::ostream &error();
 std::ostream &error( const InputLoc &loc ); 
 std::ostream &warning( const InputLoc &loc ); 
 
-void scan( char *fileName, std::istream &input, std::ostream &output );
 void terminateAllParsers( );
 void writeMachines( std::ostream &out, std::string hostData, char *inputFileName );
-void xmlEscapeHost( std::ostream &out, char *data, int len );
+void xmlEscapeHost( std::ostream &out, char *data, long len );
 
 #endif /* _RAGEL_H */