* generators.
*
* Force a newline. */
- out << "\n";
+ out << '\n';
genLineDirective( out );
if ( strcmp( args[0], "data" ) == 0 ) {
void rubyLineDirective( ostream &out, const char *fileName, int line );
void csharpLineDirective( ostream &out, const char *fileName, int line );
void genLineDirective( ostream &out );
+void lineDirective( ostream &out, const char *fileName, int line );
/*********************************/
cgd->writeStatement( ii->loc, ii->writeArgs.length()-1, ii->writeArgs.data );
}
else {
+ *outStream << '\n';
+ lineDirective( *outStream, inputFileName, ii->loc.line );
*outStream << ii->data.str();
}
}