Files
bison/data/skeletons
Akim Demaille 118c4bd3a1 glr2.cc: move parser::parse into glr_stack
Currently we have two classes that actually should be fused together:
parser and glr_stack.  Both carry part of the parsing: (i) parser
contains `parse`, which is the top-level of the parsing process, it
uses yygetToken, etc., and (ii) glr_stack takes care of all the
details (dealing with the stack), and also calls yygetToken.

However if we fuse them together, we would get a large parser class,
in the header file.  So it is probably better to split this large
class using the pimpl idiom.  But then it appears that glr_stack is
very close from being the impl of parser.

Let's improve this.

For a start...

* data/skeletons/glr2.cc (parser::parse): Move to...
(glr_stack::parse): here.
(parser::parse): Use it.
2021-01-16 07:11:05 +01:00
..
2021-01-07 06:31:28 +01:00
2020-05-21 20:14:59 +02:00
2020-01-10 19:16:23 +01:00
2021-01-13 08:03:45 +01:00
2020-01-10 19:16:23 +01:00
2020-01-10 19:16:23 +01:00
2021-01-07 06:31:28 +01:00
2021-01-03 19:57:10 +01:00
2021-01-03 19:57:10 +01:00
2020-01-10 19:16:23 +01:00
2020-11-13 07:01:19 +01:00
2020-11-13 07:01:19 +01:00