/*
 * JsMin
 * Javascript Compressor
 * http://www.crockford.com/
 * http://www.smallsharptools.com/
*/

// ;
dp.sh.Brushes.Cpp=function()
{
  var keywords='char bool short int __int32 __int64 __int8 __int16 long float double __wchar_t '+'size_t wchar_t wctrans_t wctype_t wint_t signed unsigned '+'break case catch class const __finally __exception __try '+'const_cast continue private public protected __declspec '+'default delete deprecated dllexport dllimport do dynamic_cast '+'else enum explicit extern if for friend goto inline '+'mutable naked namespace new noinline noreturn nothrow '+'register reinterpret_cast return selectany '+'sizeof static static_cast struct switch template this '+'thread throw true false try typedef typeid typename union '+'using uuid virtual void volatile whcar_t while';
  this.regexList=[{regex:dp.sh.RegexLib.SingleLineCComments,css:'comment'},
                  {regex:dp.sh.RegexLib.MultiLineCComments,css:'comment'},
                  {regex:dp.sh.RegexLib.DoubleQuotedString,css:'string'},
                  {regex:dp.sh.RegexLib.SingleQuotedString,css:'string'},
                  {regex:new RegExp('^ *#.*','gm'),css:'preprocessor'},
                  {regex:new RegExp('(\&lt;|\&gt;|\&amp;|-|[\/](?=[^\/\*])|[\*](?=[^/])|[\.](?=[^0-9])|[\!\%\^&\(\)\+\=\{\}\[]|\]|[\|\:\;\<\>\,\?\~])+','gm'),css:'operator'},
                  {regex:new RegExp('\\b(0|[1-9][0-9]*)(?!\\.)\\b','gm'),css:'number'},
                  {regex:new RegExp('\\b(0|[1-9][0-9]*)?(\\.[0-9]+[f]?)\\b','gm'),css:'number'},
                  {regex:new RegExp('\\b0x[a-fA-F0-9]+\\b','gm'),css:'number'},
                  {regex:new RegExp(this.GetKeywords(keywords),'gm'),css:'keyword'}];
  this.CssClass='dp-cpp';this.Style='.dp-cpp .datatypes { color: #2E8B57; font-weight: bold; }';
}
dp.sh.Brushes.Cpp.prototype=new dp.sh.Highlighter();dp.sh.Brushes.Cpp.Aliases=['cpp','c','c++'];
                                                     