emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 20/255: alright "i" *is* a valid position identifier


From: Eric Schulte
Subject: [elpa] 20/255: alright "i" *is* a valid position identifier
Date: Sun, 16 Mar 2014 01:02:11 +0000

eschulte pushed a commit to branch go
in repository elpa.

commit 0d1f564c2dc9a67fe8af5337bece82737a924499
Author: Eric Schulte <address@hidden>
Date:   Tue May 15 18:46:41 2012 -0400

    alright "i" *is* a valid position identifier
---
 sgf-files/3-4-joseki.sgf |   16 ++++++++--------
 sgf.el                   |    6 +-----
 2 files changed, 9 insertions(+), 13 deletions(-)

diff --git a/sgf-files/3-4-joseki.sgf b/sgf-files/3-4-joseki.sgf
index 08e048a..644600c 100644
--- a/sgf-files/3-4-joseki.sgf
+++ b/sgf-files/3-4-joseki.sgf
@@ -1,12 +1,12 @@
 (;EV[simple joseki]
    S[19]
    C[Here is a simple 3-4 joseki used mainly as an example in tests.]
- ;B[qc]
- ;W[re]
- ;B[pd]
- ;W[qg]
- ;B[kc]
- ;W[rl]
- ;B[rd]
+ ;B[pc]
  ;W[qe]
- ;B[sd])
+ ;B[pd]
+ ;W[pg]
+ ;B[jc]
+ ;W[ql]
+ ;B[qd]
+ ;W[pe]
+ ;B[rd])
diff --git a/sgf.el b/sgf.el
index 9bd8891..5a8c207 100644
--- a/sgf.el
+++ b/sgf.el
@@ -165,11 +165,7 @@
   (cond
    ((or (< char ?A) (< ?z char))
     (error "sgf: invalid char %s" char))
-   ((< char ?I) (+ 26 (- char ?A)))
-   ((= char ?I) (error "sgf: \"I\" is an invalid char"))
-   ((< char ?a) (+ 25 (- char ?A)))
-   ((< char ?i) (- char ?a))
-   ((= char ?i) (error "sgf: \"i\" is an invalid char"))
+   ((< char ?a) (+ 26 (- char ?A)))
    (t           (- (- char ?a) 1))))
 
 (defun process-position (position-string)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]