доходит до tabularnewline
This commit is contained in:
parent
ebd4e654ef
commit
5ab84349b7
|
@ -14,6 +14,9 @@
|
|||
|
||||
int parse_table(const char *table_source, size_t len, struct table_s *table, struct xerror_s *error)
|
||||
{
|
||||
error->code = 0;
|
||||
error->message = NULL;
|
||||
|
||||
if (!len)
|
||||
len = strlen(table_source);
|
||||
|
||||
|
@ -260,6 +263,8 @@ int parse_table(const char *table_source, size_t len, struct table_s *table, str
|
|||
} else if (c == '}') {
|
||||
where_stack[tex_level--] = IN_UNDEF;
|
||||
|
||||
} else if (isalnum(c) || c == '#') {
|
||||
|
||||
} else {
|
||||
error->code = (int)i;
|
||||
error->message = "unexpected symbol (IN_TAG_UNKNOWN)";
|
||||
|
@ -351,7 +356,5 @@ int parse_table(const char *table_source, size_t len, struct table_s *table, str
|
|||
|
||||
table->id = "Drossel1.Table1";
|
||||
|
||||
error->message = NULL;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue