diff options
author | Antonio Cuni <anto.cuni@gmail.com> | 2010-07-15 08:18:06 +0000 |
---|---|---|
committer | Antonio Cuni <anto.cuni@gmail.com> | 2010-07-15 08:18:06 +0000 |
commit | 9a69b74346db6d6bc20af453fd7e2b735a9dd125 (patch) | |
tree | 7f6367a4195f3570e01bbefcc8ecfdb65b0c2411 /pypy/jit/tool | |
parent | store the name of the field in the FieldDescr, it makes the tracelog immensel... (diff) | |
download | pypy-9a69b74346db6d6bc20af453fd7e2b735a9dd125.tar.gz pypy-9a69b74346db6d6bc20af453fd7e2b735a9dd125.tar.bz2 pypy-9a69b74346db6d6bc20af453fd7e2b735a9dd125.zip |
highlight the names of the class and of the field in FieldDescrs
Diffstat (limited to 'pypy/jit/tool')
-rw-r--r-- | pypy/jit/tool/pypytrace-mode.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pypy/jit/tool/pypytrace-mode.el b/pypy/jit/tool/pypytrace-mode.el index a7142383cd..77207b6d2c 100644 --- a/pypy/jit/tool/pypytrace-mode.el +++ b/pypy/jit/tool/pypytrace-mode.el @@ -18,6 +18,12 @@ ("guard_[a-z_]*" . 'widget-button-pressed) ("\\(ptr\\|p\\)[0-9][0-9]*" . 'font-lock-variable-name-face) ("i[0-9][0-9]*" . 'custom-button-pressed-unraised) + ("\\(descr=<.*FieldDescr \\)\\([^ ]*\\.\\)\\([^ ]*\\)\\( .*>\\)" + (1 'font-lock-comment-face) + (2 'font-lock-variable-name-face) + (3 'escape-glyph) + (4 'font-lock-comment-face)) + ("<.*FieldDescr \\([^ ]*\\)" (1 'font-lock-variable-name-face)) ;; comment out debug_merge_point, but then highlight specific part of it ("^debug_merge_point.*" . font-lock-comment-face) ("^\\(debug_merge_point\\).*code object\\(.*\\), file \\('.*'\\), \\(line .*\\)> \\(.*\\)')" @@ -31,6 +37,6 @@ "A mode for pypy traces files") ;; debug helpers -;; (switch-to-buffer-other-window "strslice.trace") +;; (switch-to-buffer-other-window "strslice2.trace") ;; (pypytrace-mode) |