Some function renaming.
authorthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Sun, 15 Mar 2009 15:03:28 +0000 (15:03 +0000)
committerthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Sun, 15 Mar 2009 15:03:28 +0000 (15:03 +0000)
git-svn-id: http://svn.complang.org/ragel/trunk@740 052ea7fc-9027-0410-9066-f65837a77df0

ragel/inputdata.cpp
ragel/inputdata.h
ragel/main.cpp

index 47d4681..253e958 100644 (file)
@@ -123,7 +123,7 @@ void InputData::csharpDefaultFileName( const char *inputFile )
        }
 }
 
-void InputData::openOutput()
+void InputData::makeOutputStream()
 {
        if ( ! generateDot ) {
                switch ( hostLang->lang ) {
@@ -162,7 +162,7 @@ void InputData::openOutput()
        }
 }
 
-void InputData::openOutput2()
+void InputData::openOutput()
 {
        if ( outFilter != 0 ) {
                outFilter->open( outputFileName, ios::out|ios::trunc );
index 11d4928..caf1286 100644 (file)
@@ -41,8 +41,8 @@ struct InputData
 
        void writeOutput();
        void generateSpecificReduced();
+       void makeOutputStream();
        void openOutput();
-       void openOutput2();
        void generateReduced();
        void prepareMachineGen();
 
index 24075d4..53ac915 100644 (file)
@@ -495,7 +495,7 @@ void process( const char *inputFileName )
        if ( gblErrorCount > 0 )
                exit(1);
 
-       inputData.openOutput();
+       inputData.makeOutputStream();
 
        /* Generates the reduced machine, which we use to write output. */
        inputData.generateReduced();
@@ -503,7 +503,7 @@ void process( const char *inputFileName )
        if ( gblErrorCount > 0 )
                exit(1);
 
-       inputData.openOutput2();
+       inputData.openOutput();
        inputData.writeOutput();
 
        /* Close the input and the intermediate file. */