##// END OF EJS Templates
Fix crash with 'x?' when input line had unusual patterns.
Fernando Perez -
Show More
@@ -862,10 +862,9 b' class EscapedTransformer(object):'
862
862
863 # From here on, simply choose which level of detail to get, and
863 # From here on, simply choose which level of detail to get, and
864 # special-case the psearch syntax
864 # special-case the psearch syntax
865 pinfo = 'pinfo' # default
865 if '*' in line_info.line:
866 if '*' in line_info.line:
866 pinfo = 'psearch'
867 pinfo = 'psearch'
867 elif line_info.esc == '?':
868 pinfo = 'pinfo'
869 elif line_info.esc == '??':
868 elif line_info.esc == '??':
870 pinfo = 'pinfo2'
869 pinfo = 'pinfo2'
871
870
General Comments 0
You need to be logged in to leave comments. Login now