[pypy-svn] r76230 - pypy/trunk/pypy/jit/tool

antocuni at codespeak.net antocuni at codespeak.net
Thu Jul 15 10:18:07 CEST 2010


Author: antocuni
Date: Thu Jul 15 10:18:06 2010
New Revision: 76230

Modified:
   pypy/trunk/pypy/jit/tool/pypytrace-mode.el
Log:
highlight the names of the class and of the field in FieldDescrs


Modified: pypy/trunk/pypy/jit/tool/pypytrace-mode.el
==============================================================================
--- pypy/trunk/pypy/jit/tool/pypytrace-mode.el	(original)
+++ pypy/trunk/pypy/jit/tool/pypytrace-mode.el	Thu Jul 15 10:18:06 2010
@@ -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)
 



More information about the Pypy-commit mailing list