Re: What to use for an empty word?

mwoehlke <[email protected]>
Newsgroups gmane.text.doxygen.devel
Message-ID <[email protected]>
mwoehlke wrote:
> mwoehlke wrote:
>> I am writing code for a new tag, \li3, that is used to make generic 
>> lists with the style of \param, \retval, etc. It should take two words 
>> followed by a paragraph, however the first word should be optional. 
>> Therefore I want to be able to specify a null 'placeholder'. I am 
>> thinking about using '-' but thought I would see if there are any 
>> suggestions. (If there is already something that can be used as an empty 
>> placeholder, I have not found it.)
> 
> Ah, never mind, I was looking for ','...

Ack, scratch that, ',' doesn't work (the lexer skips empty tokens, so I 
can't detect the ',' or that there was an empty word given). So unless 
someone has a better idea, I will use '-'.

-- 
Matthew
73% of all statistics are made up on the spot.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.