On 12 Oct 2012, at 11:51 PM, Chris <[email protected]> wrote:

> I've written this for HCS12 assembly and both ";" and "*" are defined as 
> legal single line comment delimiters and getting one of them to work was easy 
> but how to you implement two different single line comment definitions? 

This is easy (for a given value of easy) if you switch over to 
regular-expression-based specifications. You specify each kind of comment 
(line, block, whatever) in a group RE, and chain them with "|". 

A genius has put together a tutorial/reference: 
<http://www.barebones.com/support/develop/clm.html>.

        — F

-- 
-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>



Reply via email to