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 @@ -19,14 +19,14 @@ + #line 12 "hightlighttest.d" /* block comment */ + #line __LINE__ __FILE__ /++ embedded block comment +/ + -+ pragma /* */ (msg, "what?"); -+ pragma(/++ +/ lib, "insane.a"); -+ pragma(D_Custom_Extension, "custom data"); ++ pragma /* */ (msg, "what?"); ++ pragma(/++ +/ lib, "insane.a"); ++ pragma(D_Custom_Extension, "custom data"); + --- +/ /// version condition -version = X; +version = X; version (X) ; version(linux) {} 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 @@ -13,23 +13,23 @@ + #line 12 "hightlighttest.d" /* block comment */
+ #line __LINE__ __FILE__ /++ embedded block comment +/
+
-+ pragma /* */ (msg, "what?");
-+ pragma(/++ +/ lib, "insane.a");
-+ pragma(D_Custom_Extension, "custom data");
++ pragma /* */ (msg, "what?");
++ pragma(/++ +/ lib, "insane.a");
++ pragma(D_Custom_Extension, "custom data");
+ ---
+/

/// version condition
-version = X;
-version (X) ;
-version(linux) {}
+version = X;
+version (X) ;
+version(linux) {}

/// linkage
extern
- (C) {}
+ (C) {}
extern :
;
-extern (Windows) {}
+extern (Windows) {}

/// alias & typedef
alias int.min minint;
@@ -77,10 +77,10 @@
/// scope (as attribute and as statement)
scope struct S;
- scope (exit) {}
+ scope (exit) {}
scope
(success) {} // NOTE: rules cannot match across new-lines
- scope (failure) {}
+ scope (failure) {}

/// Properties
x = int.min;
diff --git a/data/syntax/d.xml b/data/syntax/d.xml --- a/data/syntax/d.xml +++ b/data/syntax/d.xml @@ -101,7 +101,7 @@ ======================================================================== --> - + @@ -512,7 +512,7 @@ - + @@ -529,9 +529,9 @@ - - - + + + @@ -545,7 +545,7 @@ - + @@ -561,8 +561,8 @@ - - + +