Skip to content

Commit

Permalink
Some more column 80 cuts.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.parrot.org/parrot/trunk@14269 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
ambs committed Aug 20, 2006
1 parent 442230b commit 07b2216
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 13 deletions.
33 changes: 22 additions & 11 deletions editor/kate_syntax.pl
Expand Up @@ -46,7 +46,8 @@
<!DOCTYPE language SYSTEM "language.dtd">
<!-- Created automatically by kate_syntax.pl $date -->
<language name="IMCC" version="0.2" kateversion="2.0" section="Sources" extensions="*.imc;*.pasm" mimetype="">
<language name="IMCC" version="0.2" kateversion="2.0"
section="Sources" extensions="*.imc;*.pasm" mimetype="">
<highlighting>
Expand Down Expand Up @@ -117,22 +118,28 @@ END
<context name="default" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Label" context="#stay" String="[_\\w]+\\:" />
<keyword attribute="Op" context="#stay" String="ops" />
<keyword attribute="Special Directive" context="#stay" String="special_directives" />
<keyword attribute="Special Directive" context="#stay"
String="special_directives" />
<keyword attribute="Type" context="#stay" String="types" />
<RegExpr attribute="Comment" context="#stay" String="#.*\$" />
<RegExpr attribute="Comment" context="pod" String="^\\=($pod_start_rx).*" />
<RegExpr attribute="Comment" context="pod"
String="^\\=($pod_start_rx).*" />
<HlCOct attribute="Octal" context="#stay" />
<HlCHex attribute="Hex" context="#stay" />
<Float attribute="Float" context="#stay" />
<Int attribute="Int" context="#stay" />
END

print <<END;
<RegExpr attribute="Register" context="#stay" String="[INSP](\\d|[12]\\d|3[01])" />
<RegExpr attribute="TempRegister" context="#stay" String="\\\$[INSP]\\d+" />
<RegExpr attribute="Register" context="#stay"
String="[INSP](\\d|[12]\\d|3[01])" />
<RegExpr attribute="TempRegister" context="#stay"
String="\\\$[INSP]\\d+" />
<RegExpr attribute="String" context="string" String="'" />
<RegExpr attribute="String Interp" context="string_interp" String="&quot;" />
<RegExpr attribute="Identifier" context="#stay" String="[a-zA-Z_][\\w_]*" />
<RegExpr attribute="String Interp" context="string_interp"
String="&quot;" />
<RegExpr attribute="Identifier" context="#stay"
String="[a-zA-Z_][\\w_]*" />
</context>
END
Expand All @@ -154,7 +161,8 @@ END
END

print <<END;
<context name="string_interp" attribute="String Interp" lineEndContext="#pop">
<context name="string_interp" attribute="String Interp"
lineEndContext="#pop">
<HlCStringChar attribute="SpChar" context="#stay" />
<RegExpr attribute="String Interp" context="#pop" String="&quot;" />
</context>
Expand All @@ -166,7 +174,8 @@ END
print <<END;
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="Op" defStyleNum="dsNormal" color="#000080" selColor="#ffffff" bold="0" italic="0" />
<itemData name="Op" defStyleNum="dsNormal" color="#000080"
selColor="#ffffff" bold="0" italic="0" />
<itemData name="Special Directive" defStyleNum="dsKeyword" />
<itemData name="Type" defStyleNum="dsDataType" />
<itemData name="Comment" defStyleNum="dsComment" />
Expand All @@ -177,9 +186,11 @@ END
<itemData name="Label" defStyleNum="dsKeyword" />
<itemData name="Register" defStyleNum="dsDecVal" />
<itemData name="TempRegister" defStyleNum="dsDecVal" />
<itemData name="String" defStyleNum="dsString" color="#FF6C6C" selColor="#FF6C6C" bold="0" italic="0" />
<itemData name="String" defStyleNum="dsString" color="#FF6C6C"
selColor="#FF6C6C" bold="0" italic="0" />
<itemData name="String Interp" defStyleNum="dsString" />
<itemData name="Identifier" defStyleNum="dsDataType" color="#C00000" selColor="#C00000" bold="0" italic="0" />
<itemData name="Identifier" defStyleNum="dsDataType" color="#C00000"
selColor="#C00000" bold="0" italic="0" />
<itemData name="SpChar" defStyleNum="dsChar" />
</itemDatas>
Expand Down
6 changes: 4 additions & 2 deletions examples/c/test_main.c
Expand Up @@ -212,7 +212,8 @@ usage(void)
#ifdef HAVE_COMPUTED_GOTO
const char* cgoto_info = "Deactivate computed goto";
#else
const char* cgoto_info = "Deactivate computed goto (not available on this platform)";
const char* cgoto_info =
"Deactivate computed goto (not available on this platform)";
#endif

fprintf(stderr,
Expand Down Expand Up @@ -258,7 +259,8 @@ version(void)
PARROT_ARCHNAME "\n\
Copyright (C) 2001-2003, The Perl Foundation.\n\
\n\
Parrot may be copied only under the terms of either the Artistic License or the\n\
Parrot may be copied only under the terms of either the Artistic License or the\
\n\
GNU General Public License, which may be found in the Parrot source kit.\n\
\n\
This program is distributed in the hope that it will be useful,\n\
Expand Down

0 comments on commit 07b2216

Please sign in to comment.