Branch: Tag:

2017-03-18

2017-03-18 15:21:09 by Martin Nilsson <nilsson@fastmail.com>

More correct white space handling.

1: + #include "whitespace.h"   #define NEWLINE() do { while( pos<len && data[pos]!='\n' )pos++; } while(0)   #define SKIPWHT() do {while(data[pos]==' '||data[pos]=='\t')pos++; } while(0)   
186:    pos++;    break;    -  case ' ': -  case '\n': -  case '\r': -  case '\t': -  case '\14': +  SPACECASE8    pos++;    while( pos < len )    {    switch(data[pos])    { -  case ' ': -  case '\n': -  case '\r': -  case '\t': -  case '\14': +  SPACECASE8    pos++;    continue;    }