PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » SQL_Parser » Bug #4088

c-style block comments not handled

Details

Submitted2005-04-06 19:49 UTC
Fromepte at ruffdogs dot com
Assignedcybot
StatusClosed
PackageSQL_Parser
PHP Version4.3.8
Roadmaps0.5.1

Comments

[2005-04-06 19:49 UTC] epte at ruffdogs dot com

Description:
------------
MySQL allows c-style block comments as valid comments. The following code (from mysqldump) breaks:

Reproduce code:
---------------
/*!40000 ALTER TABLE `mpn_bannerfinish` ENABLE KEYS */;

Actual result:
--------------
Parse error: Unknown action :/ on line 2
/*!40000 ALTER TABLE `mpn_bannerfinish` ENABLE KEYS */;
^ found: "/"