From d9e4ec88afdf38df4a6a94c2603b245c1352c931 Mon Sep 17 00:00:00 2001
From: Hans Bolinder <hasse@erlang.org>
Date: Wed, 6 Jul 2011 09:48:01 +0200
Subject: Fix bugs in xref(3)

Thanks to Matthias Lang.
---
 lib/tools/doc/src/xref.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/tools/doc/src/xref.xml b/lib/tools/doc/src/xref.xml
index 75ffa25311..17de66bb22 100644
--- a/lib/tools/doc/src/xref.xml
+++ b/lib/tools/doc/src/xref.xml
@@ -4,7 +4,7 @@
 <erlref>
   <header>
     <copyright>
-      <year>2000</year><year>2010</year>
+      <year>2000</year><year>2011</year>
       <holder>Ericsson AB. All Rights Reserved.</holder>
     </copyright>
     <legalnotice>
@@ -1465,8 +1465,8 @@ Evaluates a predefined analysis.
       <name>start(NameOrOptions) -> Return</name>
       <fsummary>Create an Xref server.</fsummary>
       <type>
-        <v>Name = atom()()</v>
-        <v>XrefOrOptions = Xref | Options</v>
+        <v>NameOrOptions = Name | Options</v>
+        <v>Name = atom()</v>
         <v>Options = [Option] | Option</v>
         <v>Option = {xref_mode, mode()} | term()</v>
         <v>Return = {ok, pid()}  | {error, {already_started, pid()}}</v>
@@ -1483,7 +1483,7 @@ Evaluates a predefined analysis.
       <name>start(Name, Options) -> Return</name>
       <fsummary>Create an Xref server.</fsummary>
       <type>
-        <v>Name = atom()()</v>
+        <v>Name = atom()</v>
         <v>Options = [Option] | Option</v>
         <v>Option = {xref_mode, mode()} | term()</v>
         <v>Return = {ok, pid()}  | {error, {already_started, pid()}}</v>
-- 
cgit v1.2.3