mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-03 21:49:32 +01:00 
			
		
		
		
	Note start of .cpp files in single header
This commit is contained in:
		@@ -67,6 +67,7 @@ def parseFile( path, filename ):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    f = open( os.path.join(path, filename), 'r' )
 | 
					    f = open( os.path.join(path, filename), 'r' )
 | 
				
			||||||
    blanks = 0
 | 
					    blanks = 0
 | 
				
			||||||
 | 
					    write( "// start {0}\n".format( filename ) )
 | 
				
			||||||
    for line in f:
 | 
					    for line in f:
 | 
				
			||||||
        if '// ~*~* CATCH_CPP_STITCH_PLACE *~*~' in line:
 | 
					        if '// ~*~* CATCH_CPP_STITCH_PLACE *~*~' in line:
 | 
				
			||||||
            insertCpps()
 | 
					            insertCpps()
 | 
				
			||||||
@@ -83,7 +84,6 @@ def parseFile( path, filename ):
 | 
				
			|||||||
            if not headerFile in seenHeaders:
 | 
					            if not headerFile in seenHeaders:
 | 
				
			||||||
                if headerFile != "tbc_text_format.h" and headerFile != "clara.h":
 | 
					                if headerFile != "tbc_text_format.h" and headerFile != "clara.h":
 | 
				
			||||||
                    seenHeaders.add( headerFile )
 | 
					                    seenHeaders.add( headerFile )
 | 
				
			||||||
                write( "// #included from: {0}\n".format( header ) )
 | 
					 | 
				
			||||||
                if headerPath == "internal" and path.endswith("internal/"):
 | 
					                if headerPath == "internal" and path.endswith("internal/"):
 | 
				
			||||||
                    headerPath = ""
 | 
					                    headerPath = ""
 | 
				
			||||||
                    sep = ""
 | 
					                    sep = ""
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user