bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] recognize wide character constant and wide string literal


From: Shigio Yamaguchi
Subject: Re: [PATCH] recognize wide character constant and wide string literal
Date: Sun, 16 Feb 2003 18:56:47 +0900

Committed.
Many thank you!

> ? libutil/.deps
> ? libutil/Makefile
> ? libutil/Makefile.in
> Index: libutil/token.c
> ===================================================================
> RCS file: /cvsroot/global/global/libutil/token.c,v
> retrieving revision 1.5
> diff -u -r1.5 token.c
> --- libutil/token.c   5 Jul 2002 07:16:47 -0000       1.5
> +++ libutil/token.c   16 Feb 2003 07:14:09 -0000
> @@ -216,6 +216,10 @@
>                       } else if (percent) {
>                               percent = 0;
>                               *p++ = '%';
> +                     } else if (c == 'L') {
> +                             int     tmp = peekc(1);
> +                             if (tmp == '\"' || tmp == '\'')
> +                                     continue;
>                       }
>                       for (*p++ = c; (c = nextchar()) != EOF && (c & 0x80 || 
isalnum(c) || c == '_'); *p++ = c)
>                               ;
> 
> ----
> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]