marcIhm / yabasic

Yabasic - A simple Basic interpreter for Unix and Windows
http://www.yabasic.de
MIT License
90 stars 17 forks source link

Escape sequences #40

Closed DG094 closed 4 years ago

DG094 commented 4 years ago

test.yab: print "\\"

yabasic test.yab
---Error in test.yab, line 1:
---Error: String not terminated
   print "\\"
             ^~~~~
---Error: Program not executed

I expected to see a single slash but recieved the above error instead.

test.yab: print "\\"" output: \"

marcIhm commented 4 years ago

Yep, confirmed. Will fix this.

marcIhm commented 4 years ago

Fixed with Version 2.86.6