Skip to content

Commit b23a364

Browse files
committed
line break fix; mod. samples
1 parent ff680e4 commit b23a364

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

code/Covbr2Html.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ bool Covbr2Html::convert(
4343
static const regex re_X (C_BEGIN_B "X( .*)?(\\r?\\n)");
4444

4545
const CONST_C_STRING rep_tf = hc ? "$1<i>$2<u>$3</u>$4</i>" : "$1$2<u>$3</u>$4";
46-
const CONST_C_STRING rep_X = hc ? "$1<i>$2 </i>$3" : "$1$2 $3";
46+
const CONST_C_STRING rep_X = hc ? "$1<i>$2 $3</i>$4" : "$1$2 $3$4";
4747

4848
#define C_BEGIN_NOK C_BEGIN_B "--&gt;"
4949
#define C_CONT "(?: (.*))?"

sample_outputs/covbr_sample_big.txt

+5
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ X 15 inline CoverageHead(const bool b = false):
128128
19 {}
129129
20
130130
21 // full coverage
131+
22 // i 0 / 1
132+
--> 23 inline CoverageHead(const int i):
133+
24 // simple bool constructor
134+
25 mBool(i != 0),
135+
26 mInt(i)
131136
...
132137
33 // constructor or
133138
TF 34 mBool(

sample_outputs/covbr_sample_tiny.txt

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
X:/git/dstw/application/components/BAS/BAS_Analayzer_04.h:
2+
X:/git/dstw/application/components/BAS/BAS_Analayzer_05.h:
13
...
24
X 15 inline CoverageHead(const bool b = false):
35
16 mBool(b),
@@ -6,6 +8,11 @@ X 15 inline CoverageHead(const bool b = false):
68
19 {}
79
20
810
21 // full coverage
11+
22 // i 0 / 1
12+
--> 23 inline CoverageHead(const int i):
13+
24 // simple bool constructor
14+
25 mBool(i != 0),
15+
26 mInt(i)
916
...
1017
33 // constructor or
1118
TF 34 mBool(

0 commit comments

Comments
 (0)