[Gems-users] pass ruby parameters to SLICC


Date: Sun, 4 Mar 2007 12:45:43 -0700
From: "Liqun Cheng" <liqun.cheng@xxxxxxxxx>
Subject: [Gems-users] pass ruby parameters to SLICC
Hi,

How to pass parameters defined in rubyconfig.defaults to SLICC? Say I have a new parameter named g_xxxx, and I want to use this parameter in some conditional branchs in .sm files. if (g_xxxx) {...}. What's the right syntax for this, do I need to modify slicc parser?

thanks
Liqun
[← Prev in Thread] Current Thread [Next in Thread→]