bison-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] -D, --define.


From: Joel E. Denny
Subject: Re: [PATCH] -D, --define.
Date: Fri, 7 Nov 2008 17:06:56 -0500 (EST)

On Tue, 29 Jul 2008, Akim Demaille wrote:

> +static
> +location
> +command_line_location()
> +{
> +  location res;
> +  /* "<command line>" is used in GCC's messages about -D. */
> +  boundary_set (&res.start, uniqstr_new ("<command line>"), optind, -1);
> +  res.end = res.start;
> +  return res;
> +}

In muscle_tab.c and bison.m4, `[Bison:muscle_percent_define_default]' and 
`[Bison:b4_percent_define_default]' are some other pseudo file names.  
Unlike `<command line>', these should only be printed by Bison when 
there's a developer bug.  Nevertheless, we should be consistent about 
whether we use square or angle brackets.  I don't care which.




reply via email to

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