diff options
Diffstat (limited to 'editors/psgml')
-rw-r--r-- | editors/psgml/Makefile | 2 | ||||
-rw-r--r-- | editors/psgml/files/patch-psgml-parse.el | 25 |
2 files changed, 26 insertions, 1 deletions
diff --git a/editors/psgml/Makefile b/editors/psgml/Makefile index 27389c6d38ac..279bc72acaec 100644 --- a/editors/psgml/Makefile +++ b/editors/psgml/Makefile @@ -7,7 +7,7 @@ PORTNAME= psgml PORTVERSION= 1.3.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= editors elisp MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= psgml diff --git a/editors/psgml/files/patch-psgml-parse.el b/editors/psgml/files/patch-psgml-parse.el new file mode 100644 index 000000000000..0c67d70a8d9e --- /dev/null +++ b/editors/psgml/files/patch-psgml-parse.el @@ -0,0 +1,25 @@ +*** psgml-parse.el.orig Sun Mar 6 01:23:40 2005 +--- psgml-parse.el Wed Jun 8 12:47:33 2005 +*************** +*** 568,574 **** + (setq s1 (car l) + allfinal (and allfinal (sgml-state-final-p s1)) + s2 (sgml-get-move s1 token) +! res (and s2 (sgml-make-and-state s2 (remq s1 dfas) next)) + l (cdr l))) + (cond (res) + (allfinal (sgml-get-move next token))))) +--- 568,580 ---- + (setq s1 (car l) + allfinal (and allfinal (sgml-state-final-p s1)) + s2 (sgml-get-move s1 token) +! res (and s2 +! (sgml-make-and-state +! s2 +! (if (memq s1 dfas) +! (delq s1 (copy-sequence dfas)) +! dfas) +! next)) + l (cdr l))) + (cond (res) + (allfinal (sgml-get-move next token))))) |