On 14/12/2010, at 9:04 PM, john skaller wrote:

>> and of course .. the rewrite works fine :)
>> 
>> There's a bug in there somewhere.
> 
> 
> Ah, there we go:
> 
> ~/felix>flx --test=build/release --force rt
> Fatal error: exception File 
> "build/release/src/compiler/flx_core/flx_bsym_table.ml", line 110, characters 
> 2-8: Assertion failed
> 
> No idea what is triggering it!

Flx_symtab: Adding _rqs_Regdef=7361
    union regex =     {
      |Alts of list[regex];
      |Seqs of list[regex];
      |Rpt of regex * int * int;
      |Charset of string;
      |String of string;
      |Group of regex
    }
Flx_symtab: Adding regex=7362
//      7363 -> Alts
//      7365 -> Seqs
//      7367 -> Rpt
//      7369 -> Charset
//      7371 -> String
//      7373 -> Group

....

//bound function Regdef::render::render_mf_7335<7335><7335>:unit -> string
User=use=7362
Fatal error: exception File 
"build/release/src/compiler/flx_core/flx_bsym_table.ml", line 111, characters 
2-8: Asse

So, union regexp is triggering it. Hardly a suprise, since yes, it does 
actually use itself..

The question is: why did this work before I added some extra code, unrelated to 
the
actual union????

The code in the repository works.


--
john skaller
skal...@users.sourceforge.net





------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to