diff options
author | nyamatongwe <devnull@localhost> | 2010-09-04 11:42:59 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-09-04 11:42:59 +1000 |
commit | fb48043b783cb07177491c78b3962cda9fc97b0a (patch) | |
tree | 9996d76f1d4dac7117ec44756cfa4f5bb6f0a737 /test/examples/x.cxx.styled | |
parent | 7aa6ed27b21a9abe808965d287465ce0592a3d14 (diff) | |
download | scintilla-mirror-fb48043b783cb07177491c78b3962cda9fc97b0a.tar.gz |
Fix for bug #3058924 wrong highlighting for float literals containing +/-.
Tests added for example numeric literals.
Diffstat (limited to 'test/examples/x.cxx.styled')
-rw-r--r-- | test/examples/x.cxx.styled | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/examples/x.cxx.styled b/test/examples/x.cxx.styled index 223ee0760..9b9caf87d 100644 --- a/test/examples/x.cxx.styled +++ b/test/examples/x.cxx.styled @@ -1,4 +1,7 @@ {2}// A demonstration program +{9}#include <stdio.h> {5}int{0} {11}main{10}(){0} {10}{{0} + {11}double{0} {11}x{10}[]{0} {10}={0} {10}{{4}3.14159{10},{4}6.02e23{10},{4}1.6e-19{10},{4}1.0{10}+{4}1{10}};{0} + {5}int{0} {11}y{10}[]{0} {10}={0} {10}{{4}75{10},{4}0113{10},{4}0x4b{10}};{0} {11}printf{10}({6}"hello world %d\n"{10},{0} {4}9{10});{0} {10}}{0} |