<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CodeWarrior for S12(X) V5.9 - Syntax coloring for string literals in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-for-S12-X-V5-9-Syntax-coloring-for-string-literals/m-p/173972#M3612</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The coloring has been disabled for strings and character constants because the language parser cannot reliably recognize inline assembler comments.&lt;/P&gt;&lt;P&gt;If you want to color string literals you can set the language coloring in the preferences and select the non HC12 specific C/C++ coloring. Note that you loose HC12 specifics (__far keyword, ...) and that the coloring can be off with inline assembly code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Feb 2010 13:37:20 GMT</pubDate>
    <dc:creator>CompilerGuru</dc:creator>
    <dc:date>2010-02-11T13:37:20Z</dc:date>
    <item>
      <title>CodeWarrior for S12(X) V5.9 - Syntax coloring for string literals</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-for-S12-X-V5-9-Syntax-coloring-for-string-literals/m-p/173971#M3611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having trouble with syntax coloring in the CodeWarrior IDE. I have specified a custom color for "Strings" in the IDE preferences, but string literals simply do not show up in that color. For example, with the following line of code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;const char str[] = "some string";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"const char" and "str" will&amp;nbsp;be properly colored as keywords and constants, but the string literal "some string" will be displayed with the default foreground text color.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I doing something wrong,&amp;nbsp;or is this a known bug in the IDE?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using version 5.9 of the CodeWarrior IDE, targeting a Freescale S12(X) controller.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 05:26:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-for-S12-X-V5-9-Syntax-coloring-for-string-literals/m-p/173971#M3611</guid>
      <dc:creator>eJames</dc:creator>
      <dc:date>2010-02-09T05:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for S12(X) V5.9 - Syntax coloring for string literals</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-for-S12-X-V5-9-Syntax-coloring-for-string-literals/m-p/173972#M3612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The coloring has been disabled for strings and character constants because the language parser cannot reliably recognize inline assembler comments.&lt;/P&gt;&lt;P&gt;If you want to color string literals you can set the language coloring in the preferences and select the non HC12 specific C/C++ coloring. Note that you loose HC12 specifics (__far keyword, ...) and that the coloring can be off with inline assembly code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 13:37:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-for-S12-X-V5-9-Syntax-coloring-for-string-literals/m-p/173972#M3612</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2010-02-11T13:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for S12(X) V5.9 - Syntax coloring for string literals</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-for-S12-X-V5-9-Syntax-coloring-for-string-literals/m-p/173973#M3613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for responding. Where can I find that setting in preferences? I've looked through every panel in&amp;nbsp;IDE Preferences, but I don't see anything that lets me choose which coloring strategy is used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 07:21:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-for-S12-X-V5-9-Syntax-coloring-for-string-literals/m-p/173973#M3613</guid>
      <dc:creator>eJames</dc:creator>
      <dc:date>2010-02-12T07:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for S12(X) V5.9 - Syntax coloring for string literals</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-for-S12-X-V5-9-Syntax-coloring-for-string-literals/m-p/173974#M3614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You really want those strings to be colored? Well I never thought this would be important,&lt;/P&gt;&lt;P&gt;I have the impression strings are&amp;nbsp;apparent&amp;nbsp;on their own.&lt;/P&gt;&lt;P&gt;Sorry did not have a CW&amp;nbsp;close by&amp;nbsp;when I answered, so I did not say exactly where.&lt;/P&gt;&lt;P&gt;The setting is in the project settings (Alt-F7), go to File Mappings, select the line which contains the ".c" extension and change in the combo box below the Edit Language from "mwe_cpp_HC12" to "C/C++", then click "Change" and finally OK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 09:55:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-for-S12-X-V5-9-Syntax-coloring-for-string-literals/m-p/173974#M3614</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2010-02-12T09:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for S12(X) V5.9 - Syntax coloring for string literals</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-for-S12-X-V5-9-Syntax-coloring-for-string-literals/m-p/173975#M3615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much. That did the trick.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can appreciate that most users wouldn't care about the string coloring, but the application I am working on&amp;nbsp;has an interactive&amp;nbsp;command-line interface, so&amp;nbsp;there are&amp;nbsp;a lot of string literals in my code. I wouldn't mind so much if they&amp;nbsp;simply&amp;nbsp;appeared in the default color, but&amp;nbsp;since individual keywords within the string are colored, it messes with my mind.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, I appreciate you taking the time to respond. Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2010 00:05:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-for-S12-X-V5-9-Syntax-coloring-for-string-literals/m-p/173975#M3615</guid>
      <dc:creator>eJames</dc:creator>
      <dc:date>2010-02-13T00:05:20Z</dc:date>
    </item>
  </channel>
</rss>

