From b2cbbf11397b8ff0965869709a2d5d9142bd6133 Mon Sep 17 00:00:00 2001 From: Russ Rowan Date: Sun, 8 Jan 2006 16:46:46 -0500 Subject: [PATCH] Don't left align enums. --- doc/tools/code2doc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tools/code2doc b/doc/tools/code2doc index 793df00a4..ad90559e7 100755 --- a/doc/tools/code2doc +++ b/doc/tools/code2doc @@ -37,7 +37,7 @@ while () elsif ($_ =~ /\s*([A-Z0-9_]+),\s*\/\*::\s*(.*)\s+\*\/$/) { print FILEOUT "\n" if $gotone; - $_ =~ s/\s*([A-Z0-9_]+),\s*\/\*::\s*(.*)\s+\*\/$/id[$1]::\n $2/; + $_ =~ s/(\s*)([A-Z0-9_]+),\s*\/\*::\s*(.*)\s+\*\/$/$1id[$2]::\n$1 $3/; $found = 'sorta'; $gotone = $.; } $gotone = undef if $gotone and $gotone < $.;