From 1c3bf47e7504bb6d7486340b9419464f4ed3cfb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Tue, 17 Nov 1998 07:55:15 +0100 Subject: [PATCH] Made s_q visible. Rev: lib/modules/LR.pmod/parser.pike:1.15 --- lib/modules/LR.pmod/parser.pike | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/lib/modules/LR.pmod/parser.pike b/lib/modules/LR.pmod/parser.pike index c09d6951aa..0de40b6bcd 100644 --- a/lib/modules/LR.pmod/parser.pike +++ b/lib/modules/LR.pmod/parser.pike @@ -1,5 +1,5 @@ /* - * $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; -- GitLab