There were two places in the code that tried to handle
unknown marks. We only need one.
Signed-off-by: NeilBrown <neil@brown.name>
## parse comment
## unknown mark
-###### unknown mark
- if (tk.txt.len) {
- if (ignored & (1<<TK_mark))
- tk.num = TK_error;
- else
- tk.num = TK_mark;
- return tk;
- }
-
### Strings
Strings start with one of single quote, double quote, or back quote
###### unknown mark
/* one unknown character */
close_token(state, &tk);
- tk.num = TK_error;
+ if (ignored & (1<<TK_mark))
+ tk.num = TK_error;
+ else
+ tk.num = TK_mark;
return tk;
## Tools For The Task