Disable none-working stack overflow implementation on Windows x64 full AOT.
[mono.git] / docs / exdoc
index 63983db0d95591d419601701e3bdef1a5b81ef92..92027663e6d6f7244b55fdcf8fa4f33a05f504c8 100644 (file)
@@ -153,6 +153,9 @@ sub process_function {
             }
             process_formatting(\$returns, $file_path, $.);
             process_formatting(\$body, $file_path, $.);
+            if (defined($deprecated)) {
+                process_formatting(\$deprecated, $file_path, $.);
+            }
             $body =~ s/\n/ /g;
 
             if (exists($docs->{body}->{$name})) {
@@ -239,7 +242,7 @@ sub process_formatting {
         if s{#(\w+)}{<code>$1</code>}g && $WARNINGS;
     warn "$file_path:$current_line: Old-style monodoc notation '`code`' used\n"
         if s{\`((?!api:)[:.\w\*]+)\`}{<code>$1</code>}g && $WARNINGS;
-    s{\\c +([\w\.]+)}{<code>$1</code>}g;
+    s{\\c +(\S+(?<![.,:;]))}{<code>$1</code>}g;
 
     $$content = $_;
 }