app-emacs/gentoo-syntax-1.6-r1 doesn't recognize end-of-string
Created attachment 127494 [details] dev-scheme/scm/scm-5.5.3-r1.ebuild the quotes in MY_PV="$(get_version_component_range 1)${trarr:$(get_version_component_range 2):1}$(get_version_component_range 3)" aren't recognized correctly. Without them highlighting is correct.
Sorry, I cannot reproduce it. What Emacs version are you using?
The problem is fixed in the actual version in the Emacs CVS trunk. 2007-07-16 Stefan Monnier <monnier@iro.umontreal.ca> * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Skip over the whole $( rather than just the $. Rename from sh-quoted-subshell. (sh-font-lock-syntactic-keywords): Adjust call accordingly.