Thread overview
[Issue 3783] New: Text inconsistent with EscapeSequence rules
Feb 09, 2010
Jerry Quinn
Feb 09, 2010
Jerry Quinn
Jan 22, 2012
Walter Bright
February 09, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3783

           Summary: Text inconsistent with EscapeSequence rules
           Product: D
           Version: 2.040
          Platform: All
               URL: http://digitalmars.com/d/2.0/lex.html
        OS/Version: All
            Status: NEW
          Keywords: spec
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: nobody@puremagic.com
        ReportedBy: jlquinn@optonline.net


--- Comment #0 from Jerry Quinn <jlquinn@optonline.net> 2010-02-08 19:00:37 PST ---
The lexical grammar rules say that an EscapeSequence must be contained in a single or double quoted literal.  The text still says that a bare escape sequence is a valid string.

The current DMD compiler has deprecated bare escape sequences, so the spec text should be updated as well.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 09, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3783



--- Comment #1 from Jerry Quinn <jlquinn@optonline.net> 2010-02-08 19:05:56 PST ---
The "Hex Strings" section has a bare escape sequence that should be changed as well:

The following are all equivalent:
"ab" "c"
r"ab" r"c"
r"a" "bc"
"a" ~ "b" ~ "c"
\x61"bc"

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 22, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3783



--- Comment #2 from github-bugzilla@puremagic.com 2012-01-22 13:23:54 PST ---
Commit pushed to https://github.com/D-Programming-Language/d-programming-language.org

https://github.com/D-Programming-Language/d-programming-language.org/commit/d92cf4036646bdfbc65fa5ac43f8b24415a7e2ec fix Issue 3783 - Text inconsistent with EscapeSequence rules

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 22, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3783


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------