View Issue Details

IDProjectCategoryView StatusLast Update
0000329WackoWikiformatterpublic2018-08-06 14:37
ReporteradministratorAssigned To 
Status acknowledgedResolutionopen 
Product Version4.2 
Target Version5.5.7Fixed in Version 
Summary0000329: Better support for SQL comments in SQL highlighter
DescriptionThe 4.2 SQL highlighter %%(sql)... doesn't do SQL comments very well. That is, both
the "--" comments that go until the end of line and the "Pascal-type" block
comments. Following is a sample with SQL Server Management Studio (SSMS)

SELECT * FROM sys.tables

DECLARE @MyVar int -- here is an end-of-line comment

Declare @MyVarToo /* xyz embedded */ varchar(20)


Or a "big block" comment

SELECT nuttin from notable


I'm wondering if anybody has looked at this for 4.3, or if I could possibly

I am more expert in (SQL Server) SQL than in PHP, but I understand syntax
parsing pretty well and could take a look.
Steps To Reproduce
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2009-10-02 14:36 administrator New Issue
2009-10-02 14:37 administrator Status new => acknowledged
2009-10-02 14:38 administrator Description Updated View Revisions
2009-10-02 14:41 administrator Description Updated View Revisions
2009-10-02 14:41 administrator Steps to Reproduce Updated View Revisions
2010-03-08 10:13 administrator Category Formatter => formatter
2012-04-22 17:04 administrator Target Version 5.0.0 => 5.4.0
2014-03-21 14:57 administrator Target Version 5.4.0 => 5.5.0
2015-02-19 19:29 administrator Target Version 5.5.0 => 5.6.x
2018-08-06 14:37 administrator Target Version 5.6.x => 5.5.7