tok = (name | val | ref | dimensions | map | link | SS | direction);
- main := (tok tok_delimiter)* tok [\0];
+ main := (tok tok_delimiter)* tok ;
write data nofinal noerror noprefix;
YYSTYPE lval;
ntok = 0;
p = ts = str;
- pe = eof = p + size + 1;
+ pe = eof = p + size;
%%write init;
%%write exec;
return ntok;
ntok = (last_period) ?
lexer_lexstring(filename, (int)(last_period - filename))
: lexer_lexstring(filename, (int)(iter - filename));
+
// Replace nulls with their original '_'
for (iter = filename; iter < filename_end; iter++)
if (*iter == '\0')