Menu

#99 Cjam crashes on parsing windows line endings

0.6.5
fixed
aditsu
None
2016-03-08
2016-02-12
No

When trying to parse a cjam script that uses windows line endings, I get

 not handled thread "main" java.lang.RuntimeException:
        at net.aditsu.cjam.Block.parseOp(Block.java:292)
        at net.aditsu.cjam.Block.parse(Block.java:158)
        at net.aditsu.cjam.Block.parse(Block.java:90)
        at net.aditsu.cjam.CJam.main(CJam.java:234)

I don't know if windows is supported, but it should be easy to fix anyway.

Discussion

  • aditsu

    aditsu - 2016-02-15
    • assigned_to: aditsu
     
  • aditsu

    aditsu - 2016-02-15

    Hi, can you please attach a file that demonstrates the problem? Also, are you running CJam in windows? (Just making sure)

     
  • Chiel ten Brinke

    Yes, windows 7

     
  • aditsu

    aditsu - 2016-03-08
    • status: open --> fixed
     
  • aditsu

    aditsu - 2016-03-08

    Fixed, will release in next version

     

Log in to post a comment.