Merge pull request #91 from williammalo/gh-pages C-like syntax (or at least javascript) is missing some operators.
diff --git a/components/prism-clike.js b/components/prism-clike.js
index bda722c..c8722bb 100644
--- a/components/prism-clike.js
+++ b/components/prism-clike.js
@@ -20,7 +20,7 @@ Prism.languages.clike = {
}
},
'number': /\b-?(0x)?\d*\.?[\da-f]+\b/g,
- 'operator': /[-+]{1,2}|!|=?<|=?>|={1,2}|(&){1,2}|\|?\||\?|\*|\//g,
+ 'operator': /[-+]{1,2}|!|=?<|=?>|={1,2}|(&){1,2}|\|?\||\?|\*|\/|\~|\^|\%/g,
'ignore': /&(lt|gt|amp);/gi,
'punctuation': /[{}[\];(),.:]/g
};
\ No newline at end of file