Number: 417

Date: 31-Mar-84 14':32':19

Submitter: Sannella.PA

Source: Tong.PA

Subject: (FILECOMSLST xxx ''VARS) gets first word of comments in filecoms

Assigned To: Masinter.pa

Attn: 

Status: Closed

In/By: Harmony

Problem Type: Bug

Impact: Minor

Difficulty: 

Frequency: 

Priority: Perhaps

System: Programming Environment

Subsystem: File Package

Machine: 

Disk: 

Lisp Version: 

Source Files: 

Microcode Version: 

Memory Size: 

File Server: 

Server Software Version: 

Disposition: [lmm': fixed 18 Apr]'
["Sannella.PA" "21-Aug-84 18':37':19" Attn': Status':(Fixed->Closed) In/By':]

Description: '
Date': Mon, 2 Jan 84 12':48 PST'
From': Tong.PA'
Subject': FILECOMSLST bug'
To': LispSupport'
cc': Bobrow, Tong'
'
Here''s an amusing bug for you that Danny Bobrow and I stumbled across.'
'
I have a COMS list that begins':'
'
( (* * Package for . . .)'
  (VARS EditCommands OtherCommands . . .))'
'
When I run (FILECOMSLST ''LOOPSFILEBROWSE ''VARS) I get back':'
'
(LOOPSFILEBROWSECOMS Package EditCommands OtherCommands . . .)'
'
The ringer in this lineup is Package; that aint no variable! But FILECOMSLST apparently thinks it is because the double-starred comment is a list in the COMS list and coincidentally has the form':'
	( A * B)'
and so B (i.e. Package) is interpreted as the name for a list of entities of type A (i.e. *).'
'
Have fun with this one!'
'
Chris'
'


Workaround: 

Test Case: 

Edit-By: Sannella.PA

Edit-Date: 21-Aug-84 18':37':19