Commit d641a0b
Herbert Jones
prevent recursion in php-syntax-propertize-extend-region
Similar to problem #277, I am receiving the error
(error "parse-sexp-propertize-function did not move syntax-propertize--done")
due to recursion depth being exceeded. I am using the current git branch of
emacs. Seems that re-search function can now trigger
syntax-propertize-extend-region-functions to be called again, which in turn
triggers the same call to php-syntax-propertize-extend-region. This stops
recursion when parameters already being processed are passed to
php-syntax-propertize-extend-region. This fixes the error and seems to improve
handling of large files, though I have not yet profiled it.1 parent 9e6e148 commit d641a0b
1 file changed
+29
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
974 | 974 | | |
975 | 975 | | |
976 | 976 | | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
977 | 980 | | |
978 | 981 | | |
979 | | - | |
980 | | - | |
981 | | - | |
982 | | - | |
983 | | - | |
984 | | - | |
985 | | - | |
986 | | - | |
987 | | - | |
988 | | - | |
989 | | - | |
990 | | - | |
991 | | - | |
992 | | - | |
993 | | - | |
994 | | - | |
995 | | - | |
996 | | - | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
997 | 1008 | | |
998 | 1009 | | |
999 | 1010 | | |
| |||
0 commit comments