diff --git a/autotests/html/highlight.d.html b/autotests/html/highlight.d.html --- a/autotests/html/highlight.d.html +++ b/autotests/html/highlight.d.html @@ -102,6 +102,16 @@ char c = 'a'; s = "abc 012 \" \n \x12 \u1234 \U12345678"; s = `BQString '"`; + s = q{foo "bar" 123}; + s = q"FOO +foo +FOO"; + s = q"[foo [bar] q"[baz]"]"; + s = q"(foo (bar) q"(baz)")"; + s = q"<foo <bar> q"<baz>">"; + s = q"{foo {bar} q"{baz}"}"; + s = q"/foo/"; + s = q"!foo!"; /// region markers //BEGIN x diff --git a/autotests/input/highlight.d b/autotests/input/highlight.d --- a/autotests/input/highlight.d +++ b/autotests/input/highlight.d @@ -96,6 +96,16 @@ char c = 'a'; s = "abc 012 \" \n \x12 \u1234 \U12345678"; s = `BQString '"`; + s = q{foo "bar" 123}; + s = q"FOO +foo +FOO"; + s = q"[foo [bar] q"[baz]"]"; + s = q"(foo (bar) q"(baz)")"; + s = q" q"">"; + s = q"{foo {bar} q"{baz}"}"; + s = q"/foo/"; + s = q"!foo!"; /// region markers //BEGIN x diff --git a/autotests/reference/highlight.d.ref b/autotests/reference/highlight.d.ref --- a/autotests/reference/highlight.d.ref +++ b/autotests/reference/highlight.d.ref @@ -96,6 +96,16 @@ char c = 'a';
s = "abc 012 \" \n \x12 \u1234 \U12345678";
s = `BQString '"`;
+ s = q{foo "bar" 123};
+ s = q"FOO
+foo
+FOO";
+ s = q"[foo [bar] q"[baz]"]";
+ s = q"(foo (bar) q"(baz)")";
+ s = q"<foo q"">";
+ s = q"{foo {bar} q"{baz}"}";
+ s = q"/foo/";
+ s = q"!foo!";

/// region markers
//BEGIN x
diff --git a/data/syntax/d.xml b/data/syntax/d.xml --- a/data/syntax/d.xml +++ b/data/syntax/d.xml @@ -96,8 +96,6 @@ 2003.08.11 - D.XML 1.10 - updated. 2003.07.18 - D.XML 1.00 - First released. - TODO:- Deliminated strings and Token strings (D2.0) are not supported. - ======================================================================== --> @@ -408,11 +406,15 @@ - - + + + + + + @@ -446,6 +448,13 @@ + + + + + + + @@ -611,6 +620,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -800,6 +865,9 @@ + + +