| 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→] |
|---|---|---|
| ||
| Previous by Date: | [Gems-users] pass ruby parameters to SLICC, Liqun Cheng |
|---|---|
| Next by Date: | [Gems-users] Failed assertion check_ptr, Lei Yang |
| Previous by Thread: | [Gems-users] pass ruby parameters to SLICC, Liqun Cheng |
| Next by Thread: | [Gems-users] Performance evaluation of CMP with Ruby and Opal, Lei Yang |
| Indexes: | [Date] [Thread] |