Page 1 of 1

Syntax oddness

Posted: Fri May 26, 2017 9:34 pm
by vr8ce
TP 8.1.2 on Win7SP1.

I have a SQL Syntax file that has the @@ variables in Keywords3, along with all of the built-in functions. Somewhere along the line, I suspect in 8.x, the @@ variables stopped being colored, even though the functions themselves are.

The syntax file is one DL'd from TP's web site and then added to. It's a "C=1" type file.

Vastly over-simplified example…
[Keywords 3]
@@procid
@@rowcount
AVG
ERROR_NUMBER

AVG and ERROR_NUMBER are colored in TP, but @@procid and @@rowcount aren't.

So, why aren't the @@ variables being highlighted when other things in the keyword block are, and/or how can I troubleshoot this further?

Re: Syntax oddness

Posted: Thu Jun 01, 2017 11:53 pm
by vr8ce
Anyone?

I confirmed that this worked on 7.6.4. So it broke somewhere in the transition to 8, but I don't know exactly when.

Given that it worked until 8.x, I would consider this a bug that needs to be fixed.

Thanks!