map update followup to lev_comp.l change

The change to allow digits in maps causes the comments that were
incorrectly placed inside MAP/ENDMAP blocks to be seen as valid
map lines.  They were quietly skipped before by the old scanner.
Move them out.
-dlc
This commit is contained in:
cohrs
2002-01-19 19:08:24 +00:00
parent b6c1a8006f
commit 8efbbdc0cc
2 changed files with 4 additions and 4 deletions

View File

@@ -105,9 +105,9 @@ MONSTER: 'X',"xorn",(01,17)
MAZE: "Mon-loca",' '
GEOMETRY:center,center
MAP
# 1 2 3 4 5 6 7
#123456789012345678901234567890123456789012345678901234567890123456789012345
MAP
---------------------------------------------------- --------
---.................................................- --.....|
---...--------........------........................--- ---...|

View File

@@ -10,9 +10,9 @@
MAZE: "Rog-strt",' '
FLAGS: noteleport, hardfloor, nommap
GEOMETRY:center,center
MAP
# 1 2 3 4 5 6 7
#123456789012345678901234567890123456789012345678901234567890123456789012345
MAP
---------------------------------.------------------------------------------
|.....|.||..........|....|......|.|.........|.......+............---.......|
|.....|..+..........+....---....S.|...-S-----.-----.|............+.+.......|
@@ -171,9 +171,9 @@ MONSTER: ':',"chameleon",random,hostile
MAZE: "Rog-loca",' '
GEOMETRY:center,center
MAP
# 1 2 3 4 5 6 7
#123456789012345678901234567890123456789012345678901234567890123456789012345
MAP
---------------------------------------------------- --------
---.................................................- --.....|
---...--------........-------.......................--- ---...|
@@ -274,9 +274,9 @@ MONSTER: ':',"chameleon",random,hostile
MAZE: "Rog-goal", ' '
FLAGS: noteleport
GEOMETRY:center,center
MAP
# 1 2 3 4 5 6 7
#123456789012345678901234567890123456789012345678901234567890123456789012345
MAP
----- -------.......................................|-----------------|
|...| -----.....|.......................................|.................|
|...----...|.....|.......................................|....---------....|