Overpass-API icon indicating copy to clipboard operation
Overpass-API copied to clipboard

Wrong parsing of block comments in script

Open mikkolukas opened this issue 4 years ago • 0 comments

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

mikkolukas avatar Jul 25 '20 20:07 mikkolukas