bison-patches
[Top][All Lists]
Advanced

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

Re: [bison-1_29-branch] Change location symbol.


From: marc-alexandre autret
Subject: Re: [bison-1_29-branch] Change location symbol.
Date: Fri, 24 Aug 2001 07:43:53 +0000 (GMT)

According to Pascal Bart:
> Hello,
> 
>       here a patch to change the location symbol `@', Akim tell me if
> it's interesting, please. I cann't remember his name, but a guy, who would
> to use Bison with Perl, ask us to do it. FYI it works fine.
> 
> Index: ChangeLog
> ===================================================================
> RCS file: /cvsroot/bison/bison/ChangeLog,v
> retrieving revision 1.173.2.5
> diff -u -u -r1.173.2.5 ChangeLog
> --- ChangeLog 2001/08/21 07:30:36     1.173.2.5
> +++ ChangeLog 2001/08/23 22:39:20
> @@ -1,3 +1,13 @@
> +2001-08-24  Pascal Bart  <address@hidden>
> +
> +     * src/reader.c (read_declarations): Adjust to call parse_tok_locchar.
> +     (parse_tok_locchar): Add.
> +     (location_char): New global.
> +     (copy_action): Adjust.
> +     (copy_guard): Adjust.
> +     * src/lex.c (percent_table): Add entry for `%locations_char'.
> +     * src/lex.h (token_e): Add new token flag tok_locchar.

Ok, but there is a similar problem with action character ($).
It would be good to do this patch too.

-- 
Autret Marc (address@hidden)
Eleve Ingenieur en Informatique 



reply via email to

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