Skip to content
Snippets Groups Projects
Commit 1c3bf47e authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Made s_q visible.

Rev: lib/modules/LR.pmod/parser.pike:1.15
parent a7759e4c
No related branches found
No related tags found
No related merge requests found
/*
* $Id: parser.pike,v 1.14 1998/11/15 02:27:12 grubba Exp $
* $Id: parser.pike,v 1.15 1998/11/17 06:55:15 grubba Exp $
*
* A BNF-grammar in Pike.
* Compiles to a LALR(1) state-machine.
......@@ -9,7 +9,7 @@
//.
//. File: parser.pike
//. RCSID: $Id: parser.pike,v 1.14 1998/11/15 02:27:12 grubba Exp $
//. RCSID: $Id: parser.pike,v 1.15 1998/11/17 06:55:15 grubba Exp $
//. Author: Henrik Grubbström (grubba@infovav.se)
//.
//. Synopsis: LALR(1) parser and compiler.
......@@ -659,12 +659,10 @@ static private object(kernel) first_state()
return(state);
}
/*
* Contains all states used.
*
* In the queue-part are the states that remain to be compiled.
*/
static private object(state_queue) s_q;
//. + s_q
//. Contains all states used.
//. In the queue-part are the states that remain to be compiled.
object(state_queue) s_q;
static private object(Stack.stack) item_stack;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment