mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-03 21:49:32 +01:00 
			
		
		
		
	Single include generator now handles spaces between # and include
This commit is contained in:
		@@ -12,7 +12,7 @@ from scriptCommon import catchPath
 | 
				
			|||||||
from releaseCommon import Version
 | 
					from releaseCommon import Version
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
includesParser = re.compile( r'\s*#include\s*"(.*)"' )
 | 
					includesParser = re.compile( r'\s*#\s*include\s*"(.*)"' )
 | 
				
			||||||
guardParser = re.compile( r'\s*#.*TWOBLUECUBES_CATCH_.*_INCLUDED')
 | 
					guardParser = re.compile( r'\s*#.*TWOBLUECUBES_CATCH_.*_INCLUDED')
 | 
				
			||||||
defineParser = re.compile( r'\s*#define')
 | 
					defineParser = re.compile( r'\s*#define')
 | 
				
			||||||
ifParser = re.compile( r'\s*#ifndef TWOBLUECUBES_CATCH_.*_INCLUDED')
 | 
					ifParser = re.compile( r'\s*#ifndef TWOBLUECUBES_CATCH_.*_INCLUDED')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user