diff options
Diffstat (limited to 'src/LexRuby.cxx')
| -rw-r--r-- | src/LexRuby.cxx | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/src/LexRuby.cxx b/src/LexRuby.cxx index 43a874968..692a47ade 100644 --- a/src/LexRuby.cxx +++ b/src/LexRuby.cxx @@ -96,6 +96,11 @@ static int GetRbStringState(Accessor &styler, int i, int *nextIndex) {  		return SCE_P_DEFAULT;  	} +	if (i>0 && styler.SafeGetCharAt(i-1) == '$') { +		*nextIndex = i + 1; +		return SCE_P_DEFAULT; +	} +  	if (ch == chNext && ch == styler.SafeGetCharAt(i + 2)) {  		*nextIndex = i + 3; | 
