Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.1
 
1.2
 
MAIN:plunky:20121107095945
 
test16
_>1 -line 1
 2 -#pragma foo
 3 -line 3
 4 -#pragma bar
 5 -line 5
  1+This file is testing line counting in various scenarios involving
  2+escaped newlines, including using the trigraph escape sequence
  3+
  4+--> __LINE__ 4
  5+"multi-\
  6+line ??/
  7+string"
  8+--> __LINE__ 8
  9+'multi-\
  10+line ??/
  11+character constant'
  12+--> __LINE__ 12
  13+multi-\
  14+line 012\
  15+345??/
  16+678 integer constant
  17+--> __LINE__ 17
  18+multi-\
  19+line\
  20+ li??/
  21+st ??/
  22+of \
  23+tokens
  24+--> __LINE__ 24
  25+/* multi-\
  26+line ??/
  27+comment */
  28+--> __LINE__ 28
  29+ /\
  30+??/
  31+*/ comment with escaped newlines /*
  32+         in the markers
  33+??/
  34+*\
  35+/
  36+--> __LINE__ 36
  37+// multi-\
  38+line ??/
  39+C++ comment
  40+--> __LINE__ 40
  41+\
  42+ \
  43+ /\
  44+??/
  45+\
  46+/ ??/
  47+  C++ comment with leading whitespace and escaped newlines
  48+--> __LINE__ 48
  49+#pragma multi-\
  50+line ??/
  51+#pragma directive
  52+--> __LINE__ 52
  53+#define FOO multi-\
  54+line macro /* with\
  55+ a comment *??/
  56+/ embedded
  57+--> __LINE__ 57
  58+FOO
  59+--> __LINE__ 59
  60+/??/
  61+*  comment \
  62+   before ??/
  63+   directive */ #define BAR macro with a leading comment
  64+--> __LINE__ 64
  65+BAR
  66+--> __LINE__ 66
  67+\
  68+ ??/
  69+        #define BAZ macro with leading whitespace and escaped newlines
  70+--> __LINE__ 70
  71+BAZ
  72+--> __LINE__ 72
  73+#define POTATO a token split by escaped newlines
  74+PO\
  75+TA??/
  76+TO
  77+--> __LINE__ 77
678 #if 0
<>7 -#pragma ignored
  79+#pragma multi-??/
  80+line \
  81+#pragma inside if-false block
  82+--> __LINE__ 82
883 #else
<>9 -#pragma included
 10 -line 10
 11 -#endif
 12 -#pragma baz
 13 -line 13
 14 -# pragma multi \
  84+#pragma multi-??/
1585 line \
<_16 -#pragma
 17 -line 17
  86+#pragma inside if-true block
  87+--> __LINE__ 87
  88+#endif
  89+--> __LINE__ 89
  90+/* comment */ # pragma with a preceding comment
  91+--> __LINE__ 91
  92+#if 0
  93+/* multi-\
  94+ * line comment at flslvl=1
  95+ */
  96+#endif
  97+--> __LINE__ 97
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-01 23:06 +0200