You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.
Patch is below.
=====================================================
--- prettify.js-r20 2007-03-29 21:10:55.000000000 -0700
+++ prettify.js 2007-03-29 21:09:25.000000000 -0700
@@ -72,6 +72,13 @@
"interface long native new null package private protected public return " +
"short static super switch synchronized this throw throws transient " +
"true try typeof var void volatile while with NaN Infinity");
+ var CSHARP_KEYWORDS = (
+ "abstract as base bool break by byte case catch char checked class const
continue " +
+ "decimal default delegate do double descending explicit event extern else
enum
false finally " +
+ "fixed float for foreach from goto group if implicit in int " +
+ "interface internal into is lock long new null namespace object operator
out
override orderby params private protected public readonly ref return " +
+ "sbyte sealed short sizeof stackalloc static string switch struct select
this
throw " +
+ "true try typeof uint ulong unchecked unsafe ushort using var virtual void
volatile while where yield");
var PERL_KEYWORDS = (
"foreach require sub unless until use elsif BEGIN END");
var SH_KEYWORDS = (
@@ -80,8 +87,8 @@
"if then elsif else end begin do rescue ensure while for class module " +
"def yield raise until unless and or not when case super undef break " +
"next redo retry in return alias defined");
- var KEYWORDS = [CPP_KEYWORDS, JAVA_KEYWORDS, JSCRIPT_KEYWORDS, PERL_KEYWORDS,
- PYTHON_KEYWORDS, RUBY_KEYWORDS, SH_KEYWORDS];
+ var KEYWORDS = [CPP_KEYWORDS, JAVA_KEYWORDS, JSCRIPT_KEYWORDS,
CSHARP_KEYWORDS,
+ PERL_KEYWORDS, PYTHON_KEYWORDS,
RUBY_KEYWORDS, SH_KEYWORDS];
for (var k = 0; k < KEYWORDS.length; k++) {
var kw = KEYWORDS[k].split(' ');
for (var i = 0; i < kw.length; i++) {
Original comment by mikesamuel@gmail.com on 30 Mar 2007 at 4:15
Original issue reported on code.google.com by
noisef...@gmail.com
on 26 Mar 2007 at 2:23Attachments:
The text was updated successfully, but these errors were encountered: