[ILUG] apache config question..
Colm MacCárthaigh
colmmacc at redbrick.dcu.ie
Tue Jan 22 15:17:53 GMT 2002
On Tue, Jan 22, 2002 at 02:53:43PM -0000, Breathnach, Proinnsias (Dublin) wrote:
> Ah ... so their comment parser is something akin to
> grep -ev "^#|^;" configfile
>
possibly ;P~
> That makes a certain amount of sense ...
I wish they'd just add lexer rules like:
"#"|"//"|"/*" { state = IGNORE; };
\n { line_no++; if(state == IGNORE) { state = RESPOND; } };
"*/" { if(state == IGNORE) { state = RESPOND;} }
o.k. maybe c/c++ style is a bit of overkill
--
-------------------------------------------------------------
colmmacc at redbrick.dcu.ie webmaster at redbrick.dcu.ie
"if you really want to change something, start with yourself"
More information about the ILUG
mailing list