Re: QUESTION: trying to speed up "make install"

2015-01-04 Thread Sean Nakasone
9:58 AM, Akim Demaille wrote: > > >> Le 3 nov. 2014 à 05:56, sean nakasone a écrit : >> >> Hi, everytime I run "make install", it does this... >> >> installing ast.gmo as >> /usr/local/share/locale/ast/LC_MESSAGES/bison-runtime.mo >>

QUESTION: obstack, size of new chunk?

2015-01-03 Thread Sean Nakasone
Hi, lib/obstack.c has a function, _obstack_newchunk(). there's a formula used to calculate a variable new_size new_size = (obj_size + length) + (obj_size >> 3) + h->alignment_mask + 100; i understand obj_size + length, but what's the other stuff for? thanks, Sean Sent from my iPhone

Re: set_goto_map() has unintentional ++ operator

2014-12-30 Thread Sean Nakasone
i wasnt reading the code thoroughly... i apologize. how do run the test suite? Sent from my iPhone > On Dec 30, 2014, at 2:43 AM, Akim Demaille wrote: > > >> Le 29 déc. 2014 à 22:40, sean nakasone a écrit : >> >> Hi Akim, I didn't test it, nor did I run i

Re: set_goto_map() has unintentional ++ operator

2014-12-29 Thread Sean Nakasone
oops! you're right. sorry for the trouble. Sent from my iPhone > On Dec 29, 2014, at 12:06 PM, Hans Aberg wrote: > > >>> On 29 Dec 2014, at 22:40, sean nakasone wrote: >> >> The placement of the ++ makes it a post increment, so it's incremented a

Re: set_goto_map() has unintentional ++ operator

2014-12-29 Thread sean nakasone
-- On Mon, 12/29/14, Akim Demaille wrote: Subject: Re: set_goto_map() has unintentional ++ operator To: "Sean Nakasone" Cc: "Bison Help" Date: Monday, December 29, 2014, 5:29 AM > Le 21 déc. 2014 à 21:51, Sean Nakasone a écrit : > > in lalr.c >

QUESTION: what technique used in pack_tables() ?

2014-12-27 Thread sean nakasone
Hi Folks, anyone know what technique is used in pack_tables() ? This is in tables.c. Is the goal to find the order of something that uses the least amount of space? There's a comment "Use the greatest possible negative infinites". What does this mean? __

set_goto_map() has unintentional ++ operator

2014-12-21 Thread Sean Nakasone
in lalr.c the ++ at the end of the following line doesn't have a purpose goto_number k = temp_map[TRANSITION_SYMBOL(sp, i) - ntokens]++; it can be misleading. Sent from my iPhone ___ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bis

Re: gcc --coverage and copying Bison generated files

2014-11-27 Thread Sean Nakasone
perhaps lookup VPATH Sent from my iPhone > On Nov 26, 2014, at 6:03 PM, Daiki Ueno wrote: > > Hello, > > Sorry for that this is not really related to Bison (but GCC or LCOV), > but perhaps a common question that anyone might know the solution. > > In gettext we have the following directory st

QUESTION: what is \c, \pre, \post in ielr.c ?

2014-11-25 Thread sean nakasone
Hi, in ielr.c , there's comments that refer to things like: \post, \pre, \c . What do these mean? Here's an example: /** * \pre: * - \c ritem_sees_lookahead_set was computed by * \c ielr_compute_ritem_sees_lookahead_set. * \post: * - Each of \c *edgesp and \c *edge_countsp is a new

QUESTION: trying to speed up "make install"

2014-11-02 Thread sean nakasone
Hi, everytime I run "make install", it does this... installing ast.gmo as /usr/local/share/locale/ast/LC_MESSAGES/bison-runtime.mo installing da.gmo as /usr/local/share/locale/da/LC_MESSAGES/bison-runtime.mo installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/bison-runtime.mo installing el

QUESTION: alias

2014-10-25 Thread sean nakasone
Hi, In the bison source code, the symbol structure has an alias attribute which is a *symbol. Is this alias used solely for associating a token type name to a literal string constant? i.e. %token arrow "=>" Is the alias used in other situations? Thanks, Sean _

QUESTION: what does LR(0) mean? and what's behind the name LR0.c ?

2014-10-06 Thread sean nakasone
Hi, I'm going through the bison code, and I'm curious as to the name of the source code file LR0.c . Seems like this file creates the states. After they are created, the first state is at state 0. Is this why it's called LR0.c ? Could it have been named something like generate-states.c ? I

Re: Bison for windows ?

2014-09-20 Thread sean nakasone
In addition to cygwin, you can use mingw. If you are trying to build bison, I would recommend mingw. I tried building bison under cygwin and just had too many issues. Building bison with mingw still had a few issues but I was able to figure it out. Let me know if you have questions. ---

Re: QUESTION: is bison recursive?

2014-07-28 Thread Sean Nakasone
In most systems, yacc is aliased to bison when installed. > > Cheers, > > > >> On Mon, Jul 28, 2014 at 9:12 AM, Tadej Borovšak wrote: >> >> Dne 27.07.2014 (ned) ob 20:29 +0200 je Hans Aberg napisal(a): >>>> On 27 Jul 2014, at 02:35, sean nakaso

Re: QUESTION: is bison recursive?

2014-07-28 Thread sean nakasone
Date: Sunday, July 27, 2014, 9:12 PM Dne 27.07.2014 (ned) ob 20:29 +0200 je Hans Aberg napisal(a): > On 27 Jul 2014, at 02:35, sean nakasone wrote: > > > Anyone know if bison is recursive?  Meaning, does the bison build call bison? > > Yes, the file src/parse-gra

QUESTION: is bison recursive?

2014-07-27 Thread sean nakasone
Anyone know if bison is recursive? Meaning, does the bison build call bison? The reason I'm asking is because I'm going through the bison 3.0 makefile and I don't see where bison is actually being called. Sean ___ help-bison@gnu.org https://lists.g