mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
Single include generator now handles spaces between # and include
This commit is contained in:
parent
d2a59ad37b
commit
2e08bfe9cc
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user