|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Sat Apr 14, 2007 4:24 pm
[1.27] Syntax check |
The syntax checker and highlighting do not like the syntax @{a}
@{a}
Passes the syntax check but the } at the end is highlighted red. The color that one without a match is highlighted.
#if (1=1) {do @{a}
Highlights as if it is correct, but the syntax check gives the Illegal token error instead of the unmatched brace. |
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Sat Apr 14, 2007 5:11 pm |
The code you posted is missing a brace.
I tried what you said, without the brace it errors as expected.
With the brace I didn't get any syntax errors. However if you click on one of the braces, the brace-pair highlighting is incorrect. |
|
_________________ Asati di tempari! |
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Sat Apr 14, 2007 5:24 pm |
Heh, I know the code was wrong. But i had to do that to get it to SHOW the bug
|
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Apr 17, 2007 6:11 pm |
Added to bug list.
|
|
|
|
|
|