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

[mgp-users 01071] Re: Prefix bug



From: Geoff Kuenning <geoff@cs.hmc.edu>
Subject: [mgp-users 01021] Prefix bug
Date: Mon, 8 Jul 2002 23:33:26 -0700
Message-ID: <>

geoff> When navigating slides non-sequentially, the xprefix of the last
geoff> visited slide (state->xprefix) is not properly reinitialized when you
geoff> return to slide 1.  I believe that the problem is in thirdpass() in
geoff> parse.c, which should allocate a CTL_PREFIXN as well as a CTL_PREFIX.

Sorry. There is no scope concept in the mgp's syntax. 
You can't expect automatic reinitilization for any parameters.

geoff> A workaround for now is to explicitly specify %prefix 0 as part of the
geoff> first page.

correct approach. :)
--
Yoshifumi Nishida
nishida@csl.sony.co.jp