diff options
author | Timo Sirainen <cras@irssi.org> | 2001-01-05 09:38:08 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-01-05 09:38:08 +0000 |
commit | 1dc07c42bd2f8977181671fd5bb75bd00ac52bfa (patch) | |
tree | e4823a5f8f17f77d6ba78b22c97e47b3e6ff37c2 /findsyntax.pl | |
parent | 19d111eff42e2a2d8424383994e9962f611fd912 (diff) | |
download | irssi-1dc07c42bd2f8977181671fd5bb75bd00ac52bfa.zip |
docs generator updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1074 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'findsyntax.pl')
-rwxr-xr-x | findsyntax.pl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/findsyntax.pl b/findsyntax.pl index 5389302c..e24d50f0 100755 --- a/findsyntax.pl +++ b/findsyntax.pl @@ -2,8 +2,12 @@ while(<>) { if(m!/\*.SYNTAX\:! || $tt) { - s!^\s+! !; - if (m#\*/#) { + s/^\s+/ /; + if (/^ [A-Z]+/) { + print "\n"; + s/^ //; + } + if (m!\*/!) { $tt=0; } else { $tt=1; |