Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Codewarrior Windows > Re: "cpp_no_cha...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 226 of 318
Post > Topic >>

Re: "cpp_no_char_const" breaks C++ syntax coloring of char literals

by Daniel Friederich <NOSPAM_dfriederich@[EMAIL PROTECTED] > Oct 26, 2004 at 02:49 PM

Hi Lukas,

there is no side effect when you simply delete it.
As far as I know, this editor language plugin was introduced to fix the 
"single quote in inline assembly" problem (e.g. something like
asm {
  nop; don't write such comments with single quotes
}
)

Bye

Daniel

Lukas Zeller wrote:
> Hello,
> 
> I'm using Codewarrior for years now (Mac, Win, Linux, Palm, Symbian),
> so I have lots of code written with the IDE. Now suddenly I found that
> in some of my C++ sources, the colorizer stumbles over doublequote
> char literals like:
> 
>   char c = '"';  // singlequote  doublequote  singlequote
> 
> or
> 
>   char c = '\"';  // singlequote  backslash doublequote  single-quote
> 
> The effect is that all text from the doubleqoute until the next
> occurrence of a doublequote is displayed in the color for literal
> strings.
> 
> After comparing my installation to a colleague's, I found that I have
> a plugin in the Editor section called "cpp_no_char_const" he has not.
> I removed it and now my colorizer works fine again :-)
> 
> What worries me is that I haven't the slightest idea how this plugin
> came into my installation and why such a strange-named plugin exists
> at all. I know that this used to work a long time, and ceased to work
> probably a month or two ago.
> Aside from CW Win 8.3 I have also CW Palm 9.2 (merged) installed.
> Around the time when this happened, I also installed CW Symbian 2.5
> Personal (now transferred to another machine). However this was a
> separate installation (no merge offered by the installer,
> unfortunately).
> 
> Any ideas what could be the benefit of "cpp_no_char_const"? Any reason
> to not simply delete it?
> 
> Regards,




 2 Posts in Topic:
"cpp_no_char_const" breaks C++ syntax coloring of char literals
luz_info@[EMAIL PROTECTED  2004-10-21 00:26:39 
Re: "cpp_no_char_const" breaks C++ syntax coloring of char liter
Daniel Friederich <NOS  2004-10-26 14:49:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 8:45:33 CDT 2008.