[Pkg-haskell-commits] darcs: haskell-language-javascript: debian/patches/no-utf8-happy-file: Fix "FTBFS: Grammar5.y: invalid character" by removing invalid character from the comments. (Closes: #640742)

Joachim Breitner mail at joachim-breitner.de
Thu Sep 8 20:51:14 UTC 2011


Thu Sep  8 20:49:05 UTC 2011  Joachim Breitner <mail at joachim-breitner.de>
  * debian/patches/no-utf8-happy-file: Fix "FTBFS: Grammar5.y: invalid character" by removing invalid character from the comments. (Closes: #640742)
  Ignore-this: d3b4028b8bf1cda5d6f69b63a9956974

    M ./changelog +8
    A ./patches/
    A ./patches/no-utf8-happy-file
    A ./patches/series

Thu Sep  8 20:49:05 UTC 2011  Joachim Breitner <mail at joachim-breitner.de>
  * debian/patches/no-utf8-happy-file: Fix "FTBFS: Grammar5.y: invalid character" by removing invalid character from the comments. (Closes: #640742)
  Ignore-this: d3b4028b8bf1cda5d6f69b63a9956974
diff -rN -u old-haskell-language-javascript//changelog new-haskell-language-javascript//changelog
--- old-haskell-language-javascript//changelog	2011-09-08 20:51:13.900921062 +0000
+++ new-haskell-language-javascript//changelog	2011-09-08 20:51:13.910056479 +0000
@@ -1,3 +1,11 @@
+haskell-language-javascript (0.4.5-3) UNRELEASED; urgency=low
+
+  * debian/patches/no-utf8-happy-file: Fix "FTBFS: Grammar5.y: invalid
+    character" by removing invalid character from the comments. (Closes:
+    #640742)
+
+ -- Joachim Breitner <nomeata at debian.org>  Thu, 08 Sep 2011 22:47:14 +0200
+
 haskell-language-javascript (0.4.5-2) unstable; urgency=low
 
   * Update debian/copyright.
diff -rN -u old-haskell-language-javascript//patches/no-utf8-happy-file new-haskell-language-javascript//patches/no-utf8-happy-file
--- old-haskell-language-javascript//patches/no-utf8-happy-file	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-language-javascript//patches/no-utf8-happy-file	2011-09-08 20:51:13.906057806 +0000
@@ -0,0 +1,16 @@
+Description: No utf8 characters in happy input
+Author: Joachim Breitner <nomeata at debian.org>
+Bug-Debian: http://bugs.debian.org/640742
+Forwarded: no
+
+--- haskell-language-javascript-0.4.5.orig/src/Language/JavaScript/Parser/Grammar5.y
++++ haskell-language-javascript-0.4.5/src/Language/JavaScript/Parser/Grammar5.y
+@@ -754,7 +754,7 @@ EmptyStatement :: { AST.JSNode }
+ EmptyStatement : ';' { (AST.NS (AST.JSLiteral ";") (ss $1)) }
+ 
+ -- ExpressionStatement :                                                                    See 12.4
+---         [lookahead ∉ {{, function}] Expression  ;
++--         [lookahead not in {{, function}] Expression  ;
+ -- TODO: Sort out lookahead issue. Maybe by just putting production lower to set reduce/reduce conflict
+ --       According to http://sideshowbarker.github.com/es5-spec/#x12.4, the ambiguity is with
+ --       Block or FunctionDeclaration
diff -rN -u old-haskell-language-javascript//patches/series new-haskell-language-javascript//patches/series
--- old-haskell-language-javascript//patches/series	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-language-javascript//patches/series	2011-09-08 20:51:13.906057806 +0000
@@ -0,0 +1 @@
+no-utf8-happy-file





More information about the Pkg-haskell-commits mailing list