iain truskett <[EMAIL PROTECTED]> writes: > It's not *that* slow. Just means the parser is looking for /* as well as > */ ... And "/*" and ""/*" and '/*' and qw(*/) and #*/ and \#*/ and m/.*/ ... With MLC, you need to _parse_ the comments. What happens if you find a unterminated quoted string in a commented out section? Guess what happens when you have the following comment in a java program: /* File: C:\user\jv\demo.java */ t.java:1: Invalid escape character. /* File: C:\user\jv\demo.java */ ^ With SLC, discarding a line if it starts with a # (after optional whitespace) is straightforward, fail safe, and fast. -- Johan
- why not just use C /* ... */ ? David L. Nicol
- Re: why not just use C /* ... */ ? Tom Christiansen
- Re: why not just use C /* ... */ ? Michael Mathews
- Re: why not just use C /* ... */ ? Tom Christiansen
- Re: why not just use C /* ... */ ? Johan Vromans
- Re: why not just use C /* ... */ ? iain truskett
- Re: why not just use C /* ... */ ? Dave Storrs
- Re: why not just use C /* ... */ ? Michael Mathews
- Re: why not just use C /* ... */ ? iain truskett
- Re: why not just use C /* ... *... Michael Mathews
- Re: why not just use C /* ... *... Johan Vromans
- Re: why not just use C /* .... iain truskett
- Re: why not just use C /* .... Johan Vromans
- Re: why not just use C /* .... iain truskett
- Re: why not just use C /* .... Michael Mathews
- Re: why not just use C /* .... Michael Mathews
- Re: why not just use C /* .... Damien Neil
- Re: why not just use C /* .... iain truskett
- Re: why not just use C /* .... Damien Neil
- Re: why not just use C /* ... */ ? Nick Ing-Simmons
- Re: why not just use C /* ... */ ? Johan Vromans