preprocessor.cxx

changeset 36
a8838b5f1213
parent 33
fd35f6cb5f28
child 48
976c57f153b3
--- a/preprocessor.cxx	Sat Jul 28 17:57:37 2012 +0300
+++ b/preprocessor.cxx	Sun Jul 29 04:02:07 2012 +0300
@@ -65,6 +65,7 @@
 	}
 }
 
+// ============================================================================
 // Reads a word until whitespace
 str ScriptReader::PPReadWord (char &term) {
 	str word;
@@ -79,13 +80,16 @@
 	return word;
 }
 
+// ============================================================================
+// Preprocess any directives found in the script file
 void ScriptReader::PreprocessDirectives () {
 	size_t spos = ftell (fp[fc]);
 	if (!DoDirectivePreprocessing ())
 		fseek (fp[fc], spos, SEEK_SET);
 }
 
-/* Returns true if the pre-processing was successful, false if not.
+/* ============================================================================
+ * Returns true if the pre-processing was successful, false if not.
  * If pre-processing was successful, the file pointer remains where
  * it was, if not, it's pushed back to where it was before preprocessing
  * took place and is parsed normally.

mercurial