I have a shell script, marked with #!/bin/sh, in which a ' inside a comment confuses geany's syntax parser and makes it believe this comment does not end. The minimal example I can come up with is:

#!/bin/sh
a=$(
  # '
  echo 'Yo'
)
echo 'not a comment!'

Note, that outside of $(...) the use of # ' is treated correctly.
This is with geany 1.32 (built on 2017-11-21 with GTK 2.24.31, GLib 2.54.0) on archlinux.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.