[polyml] 04/05: spelling-errors: New patch

James Clarke jrtc27 at moszumanska.debian.org
Sun Jan 15 00:40:56 UTC 2017


This is an automated email from the git hooks/post-receive script.

jrtc27 pushed a commit to branch master
in repository polyml.

commit 1441e028a4c5805ee206e5abe55afe99d2c79c88
Author: James Clarke <jrtc27 at jrtc27.com>
Date:   Fri Jan 6 13:58:06 2017 +0000

    spelling-errors: New patch
---
 debian/patches/series               |  1 +
 debian/patches/spelling-errors.diff | 56 +++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index c09f07e..9f3ee40 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -28,3 +28,4 @@ polyc-it.diff
 reset-save-vector-sleep.diff
 wait-return-valid-status.diff
 polyc-dont-capture-build-path.diff
+spelling-errors.diff
diff --git a/debian/patches/spelling-errors.diff b/debian/patches/spelling-errors.diff
new file mode 100644
index 0000000..248ff1e
--- /dev/null
+++ b/debian/patches/spelling-errors.diff
@@ -0,0 +1,56 @@
+Description: Export ioarea to bss section
+Author: James Clarke <jrtc27 at jrtc27.com>
+Forwarded: https://github.com/polyml/polyml/pull/74
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/mlsource/MLCompiler/CodeTree/ByteCode/CODE_SEG.ML
++++ b/mlsource/MLCompiler/CodeTree/ByteCode/CODE_SEG.ML
+@@ -195,7 +195,7 @@ struct
+   end
+ 
+   | csegCopySeg _ =
+-    raise InternalError "csegCopySeg: can only copy between byte segements"
++    raise InternalError "csegCopySeg: can only copy between byte segments"
+   
+   (* Returns a value from the vector. *)
+   fun csegGet (ref (_, addr), byteIndex : int) : Word8.word =
+@@ -220,7 +220,7 @@ struct
+   end;
+        
+   fun csegSet (ref (LockedCode, _), _, _) : unit =
+-    raise InternalError "csegSet: can't change locked code segement"
++    raise InternalError "csegSet: can't change locked code segment"
+    
+     | csegSet (r as (ref (status, addr)), byteIndex:int, value:Word8.word) : unit =
+   let
+--- a/mlsource/MLCompiler/CodeTree/X86Code/CODE_ARRAY.ML
++++ b/mlsource/MLCompiler/CodeTree/X86Code/CODE_ARRAY.ML
+@@ -131,7 +131,7 @@ struct
+         else System_move_bytes(fromAddr, 0w0, toAddr, offsetBytes, lengthBytes)
+     end
+ 
+-    |   csegCopySeg _ = raise InternalError "csegCopySeg: can only copy between byte segements"
++    |   csegCopySeg _ = raise InternalError "csegCopySeg: can only copy between byte segments"
+   
+     (* Returns a value from the vector. *)
+     fun csegGet (ref (_, addr), byteIndex : word) : Word8.word =
+@@ -145,7 +145,7 @@ struct
+     end
+        
+     fun csegSet (ref (LockedCode, _), _, _) : unit =
+-        raise InternalError "csegSet: can't change locked code segement"
++        raise InternalError "csegSet: can't change locked code segment"
+    
+     |   csegSet (r as (ref (status, addr)), byteIndex, value:Word8.word) : unit =
+         let
+--- a/mlsource/MLCompiler/LEX_.ML
++++ b/mlsource/MLCompiler/LEX_.ML
+@@ -457,7 +457,7 @@ struct
+              else if isOperator c
+                then parseIdent state isOperator (idVal ^ ".")
+                  
+-             else lexError(state, "invalid identifer - "^ idVal ^ "." ^ str c)
++             else lexError(state, "invalid identifier - "^ idVal ^ "." ^ str c)
+         end
+         else 
+         (

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/polyml.git



More information about the debian-science-commits mailing list