/*
- * Copyright 2001-2003 Adrian Thurston <thurston@cs.queensu.ca>
+ * Copyright 2001-2007 Adrian Thurston <thurston@cs.queensu.ca>
*/
/* This file is part of Ragel.
extern bool printStatistics;
extern int gblErrorCount;
-extern char machineMain[];
+extern char mainMachine[];
/* Location in an input file. */
struct InputLoc
{
- char *fileName;
+ const char *fileName;
int line;
int col;
};
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 checkMachines( );
void writeMachines( std::ostream &out, std::string hostData, char *inputFileName );
-void xmlEscapeHost( std::ostream &out, char *data, int len );
-
-
-/* Size of the include stack. */
-#define INCLUDE_STACK_SIZE 32
+void xmlEscapeHost( std::ostream &out, char *data, long len );
#endif /* _RAGEL_H */