Modification for
This commit is contained in:
parent
b8e99d9d88
commit
16791f2ae5
1 changed files with 1 additions and 2 deletions
|
@ -38,9 +38,8 @@ func p_partie(file *os.File) {
|
||||||
nbMaison := 1
|
nbMaison := 1
|
||||||
listeMaison := list.New()
|
listeMaison := list.New()
|
||||||
listeMaison.PushFront(pred)
|
listeMaison.PushFront(pred)
|
||||||
char, _, err := reader.ReadRune()
|
|
||||||
|
|
||||||
for err != io.EOF {
|
for char, _, err := reader.ReadRune(); err != io.EOF; {
|
||||||
switch string(char) {
|
switch string(char) {
|
||||||
case "^":
|
case "^":
|
||||||
pred.y++
|
pred.y++
|
||||||
|
|
Loading…
Reference in a new issue