https://defect.opensolaris.org/bz/show_bug.cgi?id=18198

           Summary: ShXref gets confused by here-documents
    Classification: Development
           Product: opengrok
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: ACCEPTED
          Severity: minor
          Priority: P3
         Component: analyzer
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


ShXref doesn't know about here-documents. Code fragment that shows the problem:

--------
cat<<EOF
This shouldn't cause any problem.
EOF

var='some string'
--------

ShXref thinks the single-quote in the here-document starts a string literal,
and that the opening single-quote in the var=... expression closes the literal.
Everything that comes after this fragment is incorrectly highlighted.

-- 
Configure bugmail: https://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
opengrok-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opengrok-dev

Reply via email to