доходит до tabularnewline

This commit is contained in:
Kolan Sh 2011-06-27 16:08:04 +04:00
parent ebd4e654ef
commit 5ab84349b7
1 changed files with 5 additions and 2 deletions

View File

@ -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;
}