[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] htags does not allow whitespace before preprocessing directi
From: |
Shigio Yamaguchi |
Subject: |
Re: [PATCH] htags does not allow whitespace before preprocessing directive |
Date: |
Mon, 24 Feb 2003 22:36:55 +0900 |
Hi,
Committed. Thank you!
> ? htags/Makefile
> ? htags/Makefile.in
> ? htags/const.pl
> ? htags/htags
> ? htags/htags.1
> Index: htags/htags.in
> ===================================================================
> RCS file: /cvsroot/global/global/htags/htags.in,v
> retrieving revision 1.94
> diff -u -r1.94 htags.in
> --- htags/htags.in 17 Feb 2003 01:16:50 -0000 1.94
> +++ htags/htags.in 24 Feb 2003 12:06:38 -0000
> @@ -2056,7 +2056,7 @@
> local($converted);
> s/\r$//;
> # make link for include file
> - if (!$INCOMMENT && /^#[ \t]*include/) {
> + if (!$INCOMMENT && /^[ \t]*#[ \t]*include/) {
> local($last, $sep) = m![</"]([^</"]+)([">])!;
> if (defined $'includes{$last}) {
> local($link);
> @@ -2081,7 +2081,7 @@
> &protect_line(); # protect quoted char, strings
and comments
> # painting source code
> s/({|})/\016$1\017/g;
> - local($sharp) = s/^(#[ \t]*($'sharp_macros))// ? $1 : '
';
> + local($sharp) = s/^([ \t]*#[ \t]*($'sharp_macros))// ?
$1 : '';
> if ($sharp !~ '#[ \t]*include') {
> if ($isjava) {
> s/\b($'java_reserved_words)\b/\022$1\02
3/go;
>
> ----
> Hideki IWAMOTO address@hidden
>
>
> _______________________________________________
> Bug-global mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-global
>
>
--
Shigio Yamaguchi <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3