Re: [Gems-users] pass ruby parameters to SLICC


Date: Sun, 04 Mar 2007 14:52:30 -0600
From: Mike Marty <mikem@xxxxxxxxxxx>
Subject: Re: [Gems-users] pass ruby parameters to SLICC
I always make an accessor function and define this in RubySlicc_Util.sm and RubySlicc_Util.h

Its probably possible to extend SLICC to do this automagically if you wanted.

--Mike


Liqun Cheng wrote:
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
------------------------------------------------------------------------

_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.


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