GLBasic forum

Main forum => Bug Reports => Topic started by: aonyn on 2011-Jan-05

Title: Bug with comment toggle and inline code
Post by: aonyn on 2011-Jan-05
Hi Gernot,

I just encountered a bug I think, while working on my xors3d wrapper.
I was searching for a bug, and using the method of commenting out blocks of code, until I traced down the culprit of my problem.
When I found the bug and uncommented everything using the block comment toggle function, the ide changed all commands (in common with GLB such as 'if' and 'return') within the inline blocks to all caps, treating them as though they were within the glbasic scope, rather than C.
Unfortunately I just discovered this bug with quite a large block of code, so I will get back to cleaning up again.

Thanks in advance for your help on this one.

regards,
Dave
Title: Re: Bug with comment toggle and inline code
Post by: Kitty Hello on 2011-Jan-07
oh dear. Bug filed.
Title: Re: Bug with comment toggle and inline code
Post by: aonyn on 2011-Jan-07
Thanks Gernot.
Not a major bug of course, but certainly an annoying one when it catches you off guard.  :)

I noticed it after I had fixed my own bug by isolation, uncommented my other code, and compiled.
Received a big 'IF' not recognized in this scope warning.
I looked back at the code, and probably verbalized something not as pleasant as 'Oh Dear'  :S

regards,
Dave