parsing comments in scripts

Dar Scott dsc at swcp.com
Fri Dec 10 15:23:24 EST 2004


On Dec 10, 2004, at 12:26 PM, Alex Tweedly wrote:

> Unfortunately, it appears that token DOES include the C-style comment 
> delimiters recently introduced, and they can be multi-line, so you'll 
> need to do something more to deal with that.

I missed most of this.  I'll just throw in this comment to consider in 
parsing:

/* */ style comments form intra-command whitespace, not inter-command 
whitespace; they cannot take the place of a ; or a lf, even if they 
include a lf.

Dar
****************************************
     Dar Scott Consulting
     http://www.swcp.com/dsc/
     Programming Services
****************************************



More information about the use-livecode mailing list