diff options
Diffstat (limited to 'src/main/java/com/gitblit/wicket/pages/prettify/lang-llvm.js')
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/prettify/lang-llvm.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/prettify/lang-llvm.js b/src/main/java/com/gitblit/wicket/pages/prettify/lang-llvm.js new file mode 100644 index 00000000..16fade29 --- /dev/null +++ b/src/main/java/com/gitblit/wicket/pages/prettify/lang-llvm.js @@ -0,0 +1 @@ +PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \u00a0"],["str",/^!?"(?:[^"\\]|\\[\S\s])*(?:"|$)/,null,'"'],["com",/^;[^\n\r]*/,null,";"]],[["pln",/^[!%@](?:[$\-.A-Z_a-z][\w$\-.]*|\d+)/],["kwd",/^[^\W\d]\w*/,null],["lit",/^\d+\.\d+/],["lit",/^(?:\d+|0[Xx][\dA-Fa-f]+)/],["pun",/^[(-*,:<->[\]{}]|\.\.\.$/]]),["llvm","ll"]); |