Euphoria Ticket #863: binary escape sequence parsing bug

The binary character specifier escape code causes an error if a correctly formed binary character code (8 bits) is immediately followed by non-whitespace.

contents of ex.err

<0343>:: Expecting only '0', '1' or space to follow the '\b' 
ex = "\b11011101text"  -- uh-oh 
Press Enter 

a code 'snipplet' that causes the error

-- bug demo, text should be acceptable here to be consistent with other numerical character/element 
-- intra-string encodings (\x, \u, \U) 
object ex 
ex = "\xDEADBEEFtext"  -- good to go, no error 
ex = "\b11011101text"  -- uh-oh 

bugreport.ex output

4.0.5 development (5743:62d94559f849, 2012-10-15 09:43:49) 
Operating System 
Platform: Linux, Build: wotsit, 3.2.0-4-486:0 
Include Directories 
1: /home/user/bin/euphoria/include/ 
2: /home/user/downloads 
3: /home/user/bin/euphoria/include 


Type: Bug Report Severity: Minor Category: Front End
Assigned To: unknown Status: New Reported Release: 4.0.5
Fixed in SVN #: View VCS: none Milestone:


Quick Links

User menu

Not signed in.

Misc Menu