Signed-off-by: Jacek Caban jacek@codeweavers.com
On 05/22/2018 03:32 AM, Zebediah Figura wrote:
@@ -421,6 +421,7 @@ static int parse_next_token(void *lval, parser_ctx_t *ctx)
switch(c) { case '\n':
- case '\r': ctx->ptr++; return tNL; case ''':
It would be nice to handle that in comment_line() as well. Otherwise if script uses \r instead of \n, a comment will consume all the script.
Thanks, Jacek