public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-haskell/haddock/files: haddock-2.10.0-dont-crash-on-unicode-strings-in-doc-comments.patch
@ 2012-06-02  3:36 Mark Wright (gienah)
  0 siblings, 0 replies; only message in thread
From: Mark Wright (gienah) @ 2012-06-02  3:36 UTC (permalink / raw
  To: gentoo-commits

gienah      12/06/02 03:36:51

  Added:               
                        haddock-2.10.0-dont-crash-on-unicode-strings-in-doc-comments.patch
  Log:
  Apply patch from upstream: Don't crash on unicode strings in doc comments.
  
  (Portage version: 2.1.10.63/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-haskell/haddock/files/haddock-2.10.0-dont-crash-on-unicode-strings-in-doc-comments.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/haddock/files/haddock-2.10.0-dont-crash-on-unicode-strings-in-doc-comments.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/haddock/files/haddock-2.10.0-dont-crash-on-unicode-strings-in-doc-comments.patch?rev=1.1&content-type=text/plain

Index: haddock-2.10.0-dont-crash-on-unicode-strings-in-doc-comments.patch
===================================================================
--- haddock-2.10.0-orig/src/Haddock/Lex.x	2012-03-04 03:21:18.000000000 +1100
+++ haddock-2.10.0/src/Haddock/Lex.x	2012-05-30 22:19:31.858259148 +1000
@@ -181,7 +181,7 @@
     go inp@(pos, _, str) sc =
 	  case alexScan inp sc of
 		AlexEOF -> []
-		AlexError _ -> error "lexical error"
+		AlexError _ -> []
 		AlexSkip  inp' _       -> go inp' sc
 		AlexToken inp'@(pos',_,_) len act -> act pos (take len str) sc (\sc -> go inp' sc) dflags
 
--- haddock-2.10.0-orig/dist/build/haddock/haddock-tmp/Haddock/Lex.hs	2012-03-04 03:21:21.000000000 +1100
+++ haddock-2.10.0/dist/build/haddock/haddock-tmp/Haddock/Lex.hs	2012-05-30 22:23:40.209770708 +1000
@@ -131,7 +131,7 @@
     go inp@(pos, _, str) sc =
 	  case alexScan inp sc of
 		AlexEOF -> []
-		AlexError _ -> error "lexical error"
+		AlexError _ -> []
 		AlexSkip  inp' _       -> go inp' sc
 		AlexToken inp'@(pos',_,_) len act -> act pos (take len str) sc (\sc -> go inp' sc) dflags
 






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-02  3:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-02  3:36 [gentoo-commits] gentoo-x86 commit in dev-haskell/haddock/files: haddock-2.10.0-dont-crash-on-unicode-strings-in-doc-comments.patch Mark Wright (gienah)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox