Browse Source

fix #include on first line

David Rose 24 years ago
parent
commit
6e6c8c01a6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      dtool/src/cppparser/cppPreprocessor.cxx

+ 1 - 0
dtool/src/cppparser/cppPreprocessor.cxx

@@ -602,6 +602,7 @@ push_file(const CPPFile &file) {
 
     infile._prev_last_c = _last_c;
     _last_c = '\0';
+    _start_of_line = true;
     return true;
   }