drolbr / Overpass-API

A database engine to query the OpenStreetMap data.
http://overpass-api.de
GNU Affero General Public License v3.0
693 stars 90 forks source link

Wrong parsing of block comments in script #586

Open mikkolukas opened 3 years ago

mikkolukas commented 3 years ago

In Overpass_QL#Comments it is documented that I can use block "comments in the same style of C, C++, Javascript, or CSS source code"

It works if I use:

/*
*/

However, contrary to other languages, if I do:

/**
**/

The rest of the script is ignored and I get no output.

If it is intended behavior, the wiki should be amended with that information so other users don't waste several hours.

Also posted at: Talk:Overpass_turbo#Wrong_parsing_of_comments

Wrongly posted in https://github.com/tyrasd/overpass-turbo/issues/469