-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* tr/diff-words-test: t4034 (diff --word-diff): add a minimum Perl drier test vector t4034 (diff --word-diff): style suggestions userdiff: simplify word-diff safeguard t4034: bulk verify builtin word regex sanity
- Loading branch information
Showing
41 changed files
with
933 additions
and
255 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<BOLD>diff --git a/pre b/post<RESET> | ||
<BOLD>index 95cd55b..ddcba9b 100644<RESET> | ||
<BOLD>--- a/pre<RESET> | ||
<BOLD>+++ b/post<RESET> | ||
<CYAN>@@ -1,9 +1,10 @@<RESET> | ||
@article{aldous1987uie,<RESET> | ||
title={{Ultimate instability of exponential back-off protocol for acknowledgment-based transmission control of random access communication channels}},<RESET> | ||
author={Aldous, <RED>D.<RESET><GREEN>David<RESET>}, | ||
journal={Information Theory, IEEE Transactions on},<RESET> | ||
volume={<RED>33<RESET><GREEN>Bogus.<RESET>}, | ||
number={<RED>2<RESET><GREEN>4<RESET>}, | ||
pages={219--223},<RESET> | ||
year=<GREEN>1987,<RESET> | ||
<GREEN> note={This is in fact a rather funny read since ethernet works well in practice. The<RESET> {<RED>1987<RESET><GREEN>\em pre} reference is the right one, however.<RESET>}<RED>,<RESET> | ||
}<RESET> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@article{aldous1987uie, | ||
title={{Ultimate instability of exponential back-off protocol for acknowledgment-based transmission control of random access communication channels}}, | ||
author={Aldous, David}, | ||
journal={Information Theory, IEEE Transactions on}, | ||
volume={Bogus.}, | ||
number={4}, | ||
pages={219--223}, | ||
year=1987, | ||
note={This is in fact a rather funny read since ethernet works well in practice. The {\em pre} reference is the right one, however.} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@article{aldous1987uie, | ||
title={{Ultimate instability of exponential back-off protocol for acknowledgment-based transmission control of random access communication channels}}, | ||
author={Aldous, D.}, | ||
journal={Information Theory, IEEE Transactions on}, | ||
volume={33}, | ||
number={2}, | ||
pages={219--223}, | ||
year={1987}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<BOLD>diff --git a/pre b/post<RESET> | ||
<BOLD>index 23d5c8a..7e8c026 100644<RESET> | ||
<BOLD>--- a/pre<RESET> | ||
<BOLD>+++ b/post<RESET> | ||
<CYAN>@@ -1,19 +1,19 @@<RESET> | ||
Foo() : x(0<RED>&&1<RESET><GREEN>&42<RESET>) { <GREEN>bar(x);<RESET> } | ||
cout<<"Hello World<RED>!<RESET><GREEN>?<RESET>\n"<<endl; | ||
<GREEN>(<RESET>1<GREEN>) (<RESET>-1e10<GREEN>) (<RESET>0xabcdef<GREEN>)<RESET> '<RED>x<RESET><GREEN>y<RESET>' | ||
[<RED>a<RESET><GREEN>x<RESET>] <RED>a<RESET><GREEN>x<RESET>-><RED>b a<RESET><GREEN>y x<RESET>.<RED>b<RESET><GREEN>y<RESET> | ||
!<RED>a<RESET><GREEN>x<RESET> ~<RED>a a<RESET><GREEN>x x<RESET>++ <RED>a<RESET><GREEN>x<RESET>-- <RED>a<RESET><GREEN>x<RESET>*<RED>b a<RESET><GREEN>y x<RESET>&<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>*<RED>b a<RESET><GREEN>y x<RESET>/<RED>b a<RESET><GREEN>y x<RESET>%<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>+<RED>b a<RESET><GREEN>y x<RESET>-<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET><<<RED>b a<RESET><GREEN>y x<RESET>>><RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET><<RED>b a<RESET><GREEN>y x<RESET><=<RED>b a<RESET><GREEN>y x<RESET>><RED>b a<RESET><GREEN>y x<RESET>>=<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>==<RED>b a<RESET><GREEN>y x<RESET>!=<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>&<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>^<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>|<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>&&<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>||<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>?<RED>b<RESET><GREEN>y<RESET>:z | ||
<RED>a<RESET><GREEN>x<RESET>=<RED>b a<RESET><GREEN>y x<RESET>+=<RED>b a<RESET><GREEN>y x<RESET>-=<RED>b a<RESET><GREEN>y x<RESET>*=<RED>b a<RESET><GREEN>y x<RESET>/=<RED>b a<RESET><GREEN>y x<RESET>%=<RED>b a<RESET><GREEN>y x<RESET><<=<RED>b a<RESET><GREEN>y x<RESET>>>=<RED>b a<RESET><GREEN>y x<RESET>&=<RED>b a<RESET><GREEN>y x<RESET>^=<RED>b a<RESET><GREEN>y x<RESET>|=<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>,y | ||
<RED>a<RESET><GREEN>x<RESET>::<RED>b<RESET><GREEN>y<RESET> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Foo() : x(0&42) { bar(x); } | ||
cout<<"Hello World?\n"<<endl; | ||
(1) (-1e10) (0xabcdef) 'y' | ||
[x] x->y x.y | ||
!x ~x x++ x-- x*y x&y | ||
x*y x/y x%y | ||
x+y x-y | ||
x<<y x>>y | ||
x<y x<=y x>y x>=y | ||
x==y x!=y | ||
x&y | ||
x^y | ||
x|y | ||
x&&y | ||
x||y | ||
x?y:z | ||
x=y x+=y x-=y x*=y x/=y x%=y x<<=y x>>=y x&=y x^=y x|=y | ||
x,y | ||
x::y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Foo():x(0&&1){} | ||
cout<<"Hello World!\n"<<endl; | ||
1 -1e10 0xabcdef 'x' | ||
[a] a->b a.b | ||
!a ~a a++ a-- a*b a&b | ||
a*b a/b a%b | ||
a+b a-b | ||
a<<b a>>b | ||
a<b a<=b a>b a>=b | ||
a==b a!=b | ||
a&b | ||
a^b | ||
a|b | ||
a&&b | ||
a||b | ||
a?b:z | ||
a=b a+=b a-=b a*=b a/=b a%=b a<<=b a>>=b a&=b a^=b a|=b | ||
a,y | ||
a::b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<BOLD>diff --git a/pre b/post<RESET> | ||
<BOLD>index 9106d63..dd5f421 100644<RESET> | ||
<BOLD>--- a/pre<RESET> | ||
<BOLD>+++ b/post<RESET> | ||
<CYAN>@@ -1,18 +1,18 @@<RESET> | ||
Foo() : x(0<RED>&&1<RESET><GREEN>&42<RESET>) { <GREEN>bar(x);<RESET> } | ||
cout<<"Hello World<RED>!<RESET><GREEN>?<RESET>\n"<<endl; | ||
<GREEN>(<RESET>1<GREEN>) (<RESET>-1e10<GREEN>) (<RESET>0xabcdef<GREEN>)<RESET> '<RED>x<RESET><GREEN>y<RESET>' | ||
[<RED>a<RESET><GREEN>x<RESET>] <RED>a<RESET><GREEN>x<RESET>-><RED>b a<RESET><GREEN>y x<RESET>.<RED>b<RESET><GREEN>y<RESET> | ||
!<RED>a<RESET><GREEN>x<RESET> ~<RED>a a<RESET><GREEN>x x<RESET>++ <RED>a<RESET><GREEN>x<RESET>-- <RED>a<RESET><GREEN>x<RESET>*<RED>b a<RESET><GREEN>y x<RESET>&<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>*<RED>b a<RESET><GREEN>y x<RESET>/<RED>b a<RESET><GREEN>y x<RESET>%<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>+<RED>b a<RESET><GREEN>y x<RESET>-<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET><<<RED>b a<RESET><GREEN>y x<RESET>>><RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET><<RED>b a<RESET><GREEN>y x<RESET><=<RED>b a<RESET><GREEN>y x<RESET>><RED>b a<RESET><GREEN>y x<RESET>>=<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>==<RED>b a<RESET><GREEN>y x<RESET>!=<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>&<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>^<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>|<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>&&<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>||<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>?<RED>b<RESET><GREEN>y<RESET>:z | ||
<RED>a<RESET><GREEN>x<RESET>=<RED>b a<RESET><GREEN>y x<RESET>+=<RED>b a<RESET><GREEN>y x<RESET>-=<RED>b a<RESET><GREEN>y x<RESET>*=<RED>b a<RESET><GREEN>y x<RESET>/=<RED>b a<RESET><GREEN>y x<RESET>%=<RED>b a<RESET><GREEN>y x<RESET><<=<RED>b a<RESET><GREEN>y x<RESET>>>=<RED>b a<RESET><GREEN>y x<RESET>&=<RED>b a<RESET><GREEN>y x<RESET>^=<RED>b a<RESET><GREEN>y x<RESET>|=<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>,y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Foo() : x(0&42) { bar(x); } | ||
cout<<"Hello World?\n"<<endl; | ||
(1) (-1e10) (0xabcdef) 'y' | ||
[x] x->y x.y | ||
!x ~x x++ x-- x*y x&y | ||
x*y x/y x%y | ||
x+y x-y | ||
x<<y x>>y | ||
x<y x<=y x>y x>=y | ||
x==y x!=y | ||
x&y | ||
x^y | ||
x|y | ||
x&&y | ||
x||y | ||
x?y:z | ||
x=y x+=y x-=y x*=y x/=y x%=y x<<=y x>>=y x&=y x^=y x|=y | ||
x,y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Foo():x(0&&1){} | ||
cout<<"Hello World!\n"<<endl; | ||
1 -1e10 0xabcdef 'x' | ||
[a] a->b a.b | ||
!a ~a a++ a-- a*b a&b | ||
a*b a/b a%b | ||
a+b a-b | ||
a<<b a>>b | ||
a<b a<=b a>b a>=b | ||
a==b a!=b | ||
a&b | ||
a^b | ||
a|b | ||
a&&b | ||
a||b | ||
a?b:z | ||
a=b a+=b a-=b a*=b a/=b a%=b a<<=b a>>=b a&=b a^=b a|=b | ||
a,y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<BOLD>diff --git a/pre b/post<RESET> | ||
<BOLD>index 87f0d0b..d308da2 100644<RESET> | ||
<BOLD>--- a/pre<RESET> | ||
<BOLD>+++ b/post<RESET> | ||
<CYAN>@@ -1,5 +1,5 @@<RESET> | ||
print *, "Hello World<RED>!<RESET><GREEN>?<RESET>" | ||
|
||
DO10I = 1,10<RESET> | ||
<RED>DO10I<RESET><GREEN>DO 10 I<RESET> = 1,10 | ||
<RED>DO10I<RESET><GREEN>DO 1 0 I<RESET> = 1,10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
print *, "Hello World?" | ||
|
||
DO10I = 1,10 | ||
DO 10 I = 1,10 | ||
DO 1 0 I = 1,10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
print *, "Hello World!" | ||
|
||
DO10I = 1,10 | ||
DO10I = 1,10 | ||
DO10I = 1,10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<BOLD>diff --git a/pre b/post<RESET> | ||
<BOLD>index 8ca4aea..46921e5 100644<RESET> | ||
<BOLD>--- a/pre<RESET> | ||
<BOLD>+++ b/post<RESET> | ||
<CYAN>@@ -1,3 +1,3 @@<RESET> | ||
<tag <GREEN>newattr="newvalue"<RESET>><GREEN>added<RESET> content</tag> | ||
<tag attr=<RED>"value"<RESET><GREEN>"newvalue"<RESET>><RED>content<RESET><GREEN>changed<RESET></tag> | ||
<<RED>tag<RESET><GREEN>newtag<RESET>>content <RED>&entity;<RESET><GREEN>&newentity;<RESET><<RED>/tag<RESET><GREEN>/newtag<RESET>> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<tag newattr="newvalue">added content</tag> | ||
<tag attr="newvalue">changed</tag> | ||
<newtag>content &newentity;</newtag> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<tag>content</tag> | ||
<tag attr="value">content</tag> | ||
<tag>content &entity;</tag> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<BOLD>diff --git a/pre b/post<RESET> | ||
<BOLD>index 23d5c8a..7e8c026 100644<RESET> | ||
<BOLD>--- a/pre<RESET> | ||
<BOLD>+++ b/post<RESET> | ||
<CYAN>@@ -1,19 +1,19 @@<RESET> | ||
Foo() : x(0<RED>&&1<RESET><GREEN>&42<RESET>) { <GREEN>bar(x);<RESET> } | ||
cout<<"Hello World<RED>!<RESET><GREEN>?<RESET>\n"<<endl; | ||
<GREEN>(<RESET>1<GREEN>) (<RESET>-1e10<GREEN>) (<RESET>0xabcdef<GREEN>)<RESET> '<RED>x<RESET><GREEN>y<RESET>' | ||
[<RED>a<RESET><GREEN>x<RESET>] <RED>a<RESET><GREEN>x<RESET>-><RED>b a<RESET><GREEN>y x<RESET>.<RED>b<RESET><GREEN>y<RESET> | ||
!<RED>a<RESET><GREEN>x<RESET> ~<RED>a a<RESET><GREEN>x x<RESET>++ <RED>a<RESET><GREEN>x<RESET>-- <RED>a<RESET><GREEN>x<RESET>*<RED>b a<RESET><GREEN>y x<RESET>&<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>*<RED>b a<RESET><GREEN>y x<RESET>/<RED>b a<RESET><GREEN>y x<RESET>%<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>+<RED>b a<RESET><GREEN>y x<RESET>-<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET><<<RED>b a<RESET><GREEN>y x<RESET>>><RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET><<RED>b a<RESET><GREEN>y x<RESET><=<RED>b a<RESET><GREEN>y x<RESET>><RED>b a<RESET><GREEN>y x<RESET>>=<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>==<RED>b a<RESET><GREEN>y x<RESET>!=<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>&<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>^<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>|<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>&&<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>||<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>?<RED>b<RESET><GREEN>y<RESET>:z | ||
<RED>a<RESET><GREEN>x<RESET>=<RED>b a<RESET><GREEN>y x<RESET>+=<RED>b a<RESET><GREEN>y x<RESET>-=<RED>b a<RESET><GREEN>y x<RESET>*=<RED>b a<RESET><GREEN>y x<RESET>/=<RED>b a<RESET><GREEN>y x<RESET>%=<RED>b a<RESET><GREEN>y x<RESET><<=<RED>b a<RESET><GREEN>y x<RESET>>>=<RED>b a<RESET><GREEN>y x<RESET>&=<RED>b a<RESET><GREEN>y x<RESET>^=<RED>b a<RESET><GREEN>y x<RESET>|=<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>,y | ||
<RED>a<RESET><GREEN>x<RESET>::<RED>b<RESET><GREEN>y<RESET> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Foo() : x(0&42) { bar(x); } | ||
cout<<"Hello World?\n"<<endl; | ||
(1) (-1e10) (0xabcdef) 'y' | ||
[x] x->y x.y | ||
!x ~x x++ x-- x*y x&y | ||
x*y x/y x%y | ||
x+y x-y | ||
x<<y x>>y | ||
x<y x<=y x>y x>=y | ||
x==y x!=y | ||
x&y | ||
x^y | ||
x|y | ||
x&&y | ||
x||y | ||
x?y:z | ||
x=y x+=y x-=y x*=y x/=y x%=y x<<=y x>>=y x&=y x^=y x|=y | ||
x,y | ||
x::y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Foo():x(0&&1){} | ||
cout<<"Hello World!\n"<<endl; | ||
1 -1e10 0xabcdef 'x' | ||
[a] a->b a.b | ||
!a ~a a++ a-- a*b a&b | ||
a*b a/b a%b | ||
a+b a-b | ||
a<<b a>>b | ||
a<b a<=b a>b a>=b | ||
a==b a!=b | ||
a&b | ||
a^b | ||
a|b | ||
a&&b | ||
a||b | ||
a?b:z | ||
a=b a+=b a-=b a*=b a/=b a%=b a<<=b a>>=b a&=b a^=b a|=b | ||
a,y | ||
a::b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<BOLD>diff --git a/pre b/post<RESET> | ||
<BOLD>index 9106d63..dd5f421 100644<RESET> | ||
<BOLD>--- a/pre<RESET> | ||
<BOLD>+++ b/post<RESET> | ||
<CYAN>@@ -1,18 +1,18 @@<RESET> | ||
Foo() : x(0<RED>&&1<RESET><GREEN>&42<RESET>) { <GREEN>bar(x);<RESET> } | ||
cout<<"Hello World<RED>!<RESET><GREEN>?<RESET>\n"<<endl; | ||
<GREEN>(<RESET>1<GREEN>) (<RESET>-1e10<GREEN>) (<RESET>0xabcdef<GREEN>)<RESET> '<RED>x<RESET><GREEN>y<RESET>' | ||
[<RED>a<RESET><GREEN>x<RESET>] <RED>a<RESET><GREEN>x<RESET>-><RED>b a<RESET><GREEN>y x<RESET>.<RED>b<RESET><GREEN>y<RESET> | ||
!<RED>a<RESET><GREEN>x<RESET> ~<RED>a a<RESET><GREEN>x x<RESET>++ <RED>a<RESET><GREEN>x<RESET>-- <RED>a<RESET><GREEN>x<RESET>*<RED>b a<RESET><GREEN>y x<RESET>&<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>*<RED>b a<RESET><GREEN>y x<RESET>/<RED>b a<RESET><GREEN>y x<RESET>%<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>+<RED>b a<RESET><GREEN>y x<RESET>-<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET><<<RED>b a<RESET><GREEN>y x<RESET>>><RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET><<RED>b a<RESET><GREEN>y x<RESET><=<RED>b a<RESET><GREEN>y x<RESET>><RED>b a<RESET><GREEN>y x<RESET>>=<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>==<RED>b a<RESET><GREEN>y x<RESET>!=<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>&<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>^<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>|<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>&&<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>||<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>?<RED>b<RESET><GREEN>y<RESET>:z | ||
<RED>a<RESET><GREEN>x<RESET>=<RED>b a<RESET><GREEN>y x<RESET>+=<RED>b a<RESET><GREEN>y x<RESET>-=<RED>b a<RESET><GREEN>y x<RESET>*=<RED>b a<RESET><GREEN>y x<RESET>/=<RED>b a<RESET><GREEN>y x<RESET>%=<RED>b a<RESET><GREEN>y x<RESET><<=<RED>b a<RESET><GREEN>y x<RESET>>>=<RED>b a<RESET><GREEN>y x<RESET>&=<RED>b a<RESET><GREEN>y x<RESET>^=<RED>b a<RESET><GREEN>y x<RESET>|=<RED>b<RESET> | ||
<RED>a<RESET><GREEN>y<RESET> | ||
<GREEN>x<RESET>,y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Foo() : x(0&42) { bar(x); } | ||
cout<<"Hello World?\n"<<endl; | ||
(1) (-1e10) (0xabcdef) 'y' | ||
[x] x->y x.y | ||
!x ~x x++ x-- x*y x&y | ||
x*y x/y x%y | ||
x+y x-y | ||
x<<y x>>y | ||
x<y x<=y x>y x>=y | ||
x==y x!=y | ||
x&y | ||
x^y | ||
x|y | ||
x&&y | ||
x||y | ||
x?y:z | ||
x=y x+=y x-=y x*=y x/=y x%=y x<<=y x>>=y x&=y x^=y x|=y | ||
x,y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Foo():x(0&&1){} | ||
cout<<"Hello World!\n"<<endl; | ||
1 -1e10 0xabcdef 'x' | ||
[a] a->b a.b | ||
!a ~a a++ a-- a*b a&b | ||
a*b a/b a%b | ||
a+b a-b | ||
a<<b a>>b | ||
a<b a<=b a>b a>=b | ||
a==b a!=b | ||
a&b | ||
a^b | ||
a|b | ||
a&&b | ||
a||b | ||
a?b:z | ||
a=b a+=b a-=b a*=b a/=b a%=b a<<=b a>>=b a&=b a^=b a|=b | ||
a,y |
Oops, something went wrong.