Skip to content
Snippets Groups Projects
  1. Jul 07, 2012
  2. Jul 06, 2012
  3. Jul 04, 2012
  4. Jul 03, 2012
  5. Dec 05, 2011
  6. Jun 01, 2011
  7. May 19, 2011
  8. Nov 03, 2010
  9. Sep 29, 2010
  10. Aug 19, 2010
  11. Jul 10, 2010
  12. Jul 09, 2010
  13. Jul 06, 2010
  14. Jul 02, 2010
  15. May 21, 2010
  16. May 05, 2010
  17. Apr 14, 2010
  18. Apr 13, 2010
  19. Apr 09, 2010
  20. Apr 08, 2010
  21. Jan 22, 2010
    • Erwan Jahier's avatar
      Fix a bug in the fresh var names generation. · 0f54289a
      Erwan Jahier authored
      cf test/should_work/NONREG/fresh_name.lus
      
      where the local variable _n1e1_1 was defined twice !
      
      The fix contist the following idea : prefix fresh var name by "_",
         except if at least one user ident begins by "_". In that case, we
         try to prefix them by "_1", and then "_2", and so on. We take the
         first possible one.
      
         nb : this won't work if the user defined idents from "_1" to
         "_1073741823" (on 32-bits machine), but I bet that this compiler
         would die before anyway...
      0f54289a
Loading