components/prism-c.min.js


Log

Author Commit Date CI Message
Golmote b1fd5bdc 2015-03-10T08:27:53 Removed unused global flag in all grammars
Ben Briggs 4247baec 2014-07-28T16:54:50 Fix conflicts.
Andreas Rohner 550c81e7 2014-07-11T21:21:27 Fix for some serious bugs in C and C++ highlighter &lt; and &gt; don't seem to work as they used to. So this patch replaces them with the corresponding < or > sign like it was done in the clike base language. The pattern for macro statements was seriously flawed. It didn't allow for macros with no argument like #else or #endif. This patch fixes the problem and additionally adds support for multiline macros, which are fairly common. #define FOO(a, b, c) \ do { \ do_stuff_here \ do_more_stuff \ } while (0) Furthermore the path of the #include macro is highlighted as a string. #include <stdio.h> #include "config.h" C also allows for multiline strings in a similar way as multiline macros. "This is a \ multiline \ string"
Ben Briggs 7cfd29a9 2014-05-26T11:20:55 Rebuild minified files.
Lea Verou 36471491 2014-04-21T13:36:32 Updated minified files
Andreas Rohner 47ffc24c 2013-03-16T18:39:06 Add C/C++ highlighting support