1e52f61174270e7af9883502f46935bce628f628 braney Fri Jul 3 16:48:28 2020 -0700 can use octothorp to comment in AS files diff --git src/lib/asParse.c src/lib/asParse.c index be68049..54faf73 100644 --- src/lib/asParse.c +++ src/lib/asParse.c @@ -456,30 +456,31 @@ { switch (type) { case t_float: case t_double: return TRUE; default: return FALSE; } } static struct asObject *asParseLineFile(struct lineFile *lf) /* Parse open line file. Closes lf as a side effect. */ { struct tokenizer *tkz = tokenizerOnLineFile(lf); +tkz->uncommentShell = TRUE; /* Take out # style comments. */ struct asObject *objList = asParseTokens(tkz); tokenizerFree(&tkz); return objList; } void asColumnFree(struct asColumn **pAs) /* free a single asColumn */ { struct asColumn *as = *pAs; if (as != NULL) { freeMem(as->name); freeMem(as->comment); freez(pAs);