доходит до 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)
|
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)
|
if (!len)
|
||||||
len = strlen(table_source);
|
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 == '}') {
|
} else if (c == '}') {
|
||||||
where_stack[tex_level--] = IN_UNDEF;
|
where_stack[tex_level--] = IN_UNDEF;
|
||||||
|
|
||||||
|
} else if (isalnum(c) || c == '#') {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
error->code = (int)i;
|
error->code = (int)i;
|
||||||
error->message = "unexpected symbol (IN_TAG_UNKNOWN)";
|
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";
|
table->id = "Drossel1.Table1";
|
||||||
|
|
||||||
error->message = NULL;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue