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

/home/user/src/get.e/bug.ex:5 
<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

Version 
---------------------------- 
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 
 
EUDIR 
---------------------------- 
/home/user/bin/euphoria 
 
PATH 
---------------------------- 
/home/user/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/user/bin/euphoria/bin:/home/user/scripts:. 

Details

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:

Search



Quick Links

User menu

Not signed in.

Misc Menu