
On 2007-01-08, Akim Demaille <akim@lrde.epita.fr> wrote:
"SB" == SIGOURE Benoit <tsuna@lrde.epita.fr> writes:
Index: src/syn/xrm/XRM-Constant.str =================================================================== --- src/syn/xrm/XRM-Constant.str (revision 0) +++ src/syn/xrm/XRM-Constant.str (revision 0) @@ -0,0 +1,7 @@ +// Workaround: see the comment in XRM-Constant.sdf + + // FIXME: Remove this when sdf2rtg supports "ast" attributes. + signature constructors + ConstIntDecList : List(DeclPart) -> ConstantDef + ConstDoubleDecList : List(DeclPart) -> ConstantDef + ConstBoolDecList : List(DeclPart) -> ConstantDef
Can you clarify what ast will be?
This is explained in XRM-Constant.sdf ConstIntDecList([DeclPart, DeclPart, ...]) Instead of the wrong signature generated by sdf2rtg: ConstIntDecList(DeclPart, [DeclPart, ...]) Maybe my explanation wasn't clear enough. Anyway this is a temporary hack used to overcome sdf2rtg's limitations. -- SIGOURE Benoit aka Tsuna (SUSv3 compliant) _____ "On a long enough timeline, the survival rate /EPITA\ Promo 2008.CSI/ACU for everyone drops to zero" -- Jack.