Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: polymer_0.5.0/bower_components/google-code-prettify/src/lang-pascal.js

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Contributed by peter dot kofler at code minus cop dot org 1 // Contributed by peter dot kofler at code minus cop dot org
2 2
3 /** 3 /**
4 * @fileoverview 4 * @fileoverview
5 * Registers a language handler for (Turbo) Pascal. 5 * Registers a language handler for (Turbo) Pascal.
6 * 6 *
7 * To use, include prettify.js and this file in your HTML page. 7 * To use, include prettify.js and this file in your HTML page.
8 * Then put your code in an HTML tag like 8 * Then put your code in an HTML tag like
9 * <pre class="prettyprint lang-pascal">(my Pascal code)</pre> 9 * <pre class="prettyprint lang-pascal">(my Pascal code)</pre>
10 * 10 *
(...skipping 12 matching lines...) Expand all
23 // A cStyleComments comment (* *) or {} 23 // A cStyleComments comment (* *) or {}
24 [PR.PR_COMMENT, /^\(\*[\s\S]*?(?:\*\)|$)|^\{[\s\S]*?(?:\}|$)/, n ull], 24 [PR.PR_COMMENT, /^\(\*[\s\S]*?(?:\*\)|$)|^\{[\s\S]*?(?:\}|$)/, n ull],
25 [PR.PR_KEYWORD, /^(?:ABSOLUTE|AND|ARRAY|ASM|ASSEMBLER|BEGIN|CASE |CONST|CONSTRUCTOR|DESTRUCTOR|DIV|DO|DOWNTO|ELSE|END|EXTERNAL|FOR|FORWARD|FUNCTI ON|GOTO|IF|IMPLEMENTATION|IN|INLINE|INTERFACE|INTERRUPT|LABEL|MOD|NOT|OBJECT|OF| OR|PACKED|PROCEDURE|PROGRAM|RECORD|REPEAT|SET|SHL|SHR|THEN|TO|TYPE|UNIT|UNTIL|US ES|VAR|VIRTUAL|WHILE|WITH|XOR)\b/i, null], 25 [PR.PR_KEYWORD, /^(?:ABSOLUTE|AND|ARRAY|ASM|ASSEMBLER|BEGIN|CASE |CONST|CONSTRUCTOR|DESTRUCTOR|DIV|DO|DOWNTO|ELSE|END|EXTERNAL|FOR|FORWARD|FUNCTI ON|GOTO|IF|IMPLEMENTATION|IN|INLINE|INTERFACE|INTERRUPT|LABEL|MOD|NOT|OBJECT|OF| OR|PACKED|PROCEDURE|PROGRAM|RECORD|REPEAT|SET|SHL|SHR|THEN|TO|TYPE|UNIT|UNTIL|US ES|VAR|VIRTUAL|WHILE|WITH|XOR)\b/i, null],
26 [PR.PR_LITERAL, /^(?:true|false|self|nil)/i, null], 26 [PR.PR_LITERAL, /^(?:true|false|self|nil)/i, null],
27 [PR.PR_PLAIN, /^[a-z][a-z0-9]*/i, null], 27 [PR.PR_PLAIN, /^[a-z][a-z0-9]*/i, null],
28 // Literals .0, 0, 0.0 0E13 28 // Literals .0, 0, 0.0 0E13
29 [PR.PR_LITERAL, /^(?:\$[a-f0-9]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+\- ]?\d+)?)/i, null, '0123456789'], 29 [PR.PR_LITERAL, /^(?:\$[a-f0-9]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+\- ]?\d+)?)/i, null, '0123456789'],
30 [PR.PR_PUNCTUATION, /^.[^\s\w\.$@\'\/]*/, null] 30 [PR.PR_PUNCTUATION, /^.[^\s\w\.$@\'\/]*/, null]
31 ]), 31 ]),
32 ['pascal']); 32 ['pascal']);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698