1. 30 Oct, 2013 1 commit
    • fleuria's avatar
      fix #1550 · 3a4c8e2d
      fleuria authored
      emit a "\n" as the first token for parser instead of taking the
      first character from the next file for lexer, to prevent mruby
      "concatenate" two keywords between files
      
      it should be regarded as a work around, for it can not resolve
      this case:
      
      $ cat a.rb
      "
      $ cat b.rb
      b"
      
      $ bin/mrbc -o- -v a.rb b.rb
      mruby - Embeddable Ruby  Copyright (c) 2010-2013 mruby
      developers
      NODE_SCOPE:
              NODE_BEGIN:
                      NODE_STR "
      
      b " len 4
      irep 0 nregs=2 nlocals=1 pools=1 syms=0
      000 OP_STRING   R1      "\n\nb "
      001 OP_STOP
      
      thanks @bovi 's idea
      3a4c8e2d
  2. 24 Oct, 2013 1 commit
  3. 23 Oct, 2013 2 commits
  4. 22 Oct, 2013 2 commits
  5. 20 Oct, 2013 1 commit
  6. 19 Oct, 2013 1 commit
  7. 15 Oct, 2013 5 commits
  8. 10 Oct, 2013 3 commits
  9. 09 Oct, 2013 1 commit
  10. 08 Oct, 2013 1 commit
  11. 05 Oct, 2013 1 commit
  12. 04 Oct, 2013 2 commits
  13. 02 Oct, 2013 1 commit
  14. 01 Oct, 2013 8 commits
  15. 29 Sep, 2013 1 commit
  16. 28 Sep, 2013 1 commit
  17. 26 Sep, 2013 3 commits
  18. 24 Sep, 2013 4 commits
  19. 22 Sep, 2013 1 commit