(str)
| 13 | |
| 14 | CodeMirror.defineMode("pascal", function() { |
| 15 | function words(str) { |
| 16 | var obj = {}, words = str.split(" "); |
| 17 | for (var i = 0; i < words.length; ++i) obj[words[i]] = true; |
| 18 | return obj; |
| 19 | } |
| 20 | var keywords = words( |
| 21 | "absolute and array asm begin case const constructor destructor div do " + |
| 22 | "downto else end file for function goto if implementation in inherited " + |