[Bug 20492] New: Incorrect tokenization of '\\' in perl code.

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Mon Dec 5 08:13:26 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=20492
Ubuntu | kate-plugins

           Summary: Incorrect  tokenization of '\\' in perl code.
           Product: Ubuntu
           Version: unspecified
          Platform: i386
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: kate-plugins
        AssignedTo: debzilla at ubuntu.com
        ReportedBy: tmpusr67 at dansted.org
         QAContact: kubuntu-bugs at lists.ubuntu.com


The following is a correct one-line perl program that outputs a single backslash.  
 
    print '\\';  
  
However the kate syntax highlighter thinks that "\'" is an escaped "'" and thus the  
string continues onto the next line. This is more than just a cosmetic bug as it  
interferes with the division of code into functions. E.g. it thinks   
 
    sub func1{ print '\\'; }  
    sub func2{ print 'hi'; }  
 
Is a single function because it thinks  
 
    '\\'; }  
    sub func2{ print ' 
 
is a single string.

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the kubuntu-bugs mailing list