This commit is contained in:
Kolan Sh 2011-07-12 11:31:43 +04:00
parent bc34df2a1e
commit 02926e26ab
4 changed files with 15 additions and 14 deletions

View File

@ -4,8 +4,10 @@
# No need to call make clean if You make with other mode,
# because the Makefile containes rules for automatically clean.
# Some usage examples:
# CFLAGS="-march=core2 -mtune=core2" make
# LDFLAGS="-lexpat" make mode=profile
# make # default mode is debug
# CFLAGS="-O2 -march=core2 -mtune=core2 --msse4.1 mfpmath=sse -fomit-frame-pointer -pipe" LDFLAGS="-Wl,-O1 -Wl,-ass-needed" make mode=develop
# CFLAGS="-O2 -march=amdfam10 -mtune=amdfam10 -msse4a --mfpmath=sse -fomit-frame-pointer -pipe" LDFLAGS="-Wl,-O1 -Wl,--as-needed" make mode=profile
# CFLAGS="-O2 -march=k6-2 -mtune=k6-2 -m3dnow --mfpmath=387 -fomit-frame-pointer -pipe" LDFLAGS="-Wl,-O1 -Wl,--as-needed" make mode=release
# Report bugs to <mecareful@gmail.com>
#_________________________________

View File

@ -157,9 +157,9 @@ void tex_parse(const char *source, size_t len, struct tex_struct_s **tex_struct,
#endif
where_stack[tex_level--] = IN_UNDEF;
//~ if (tex_level && where_stack[tex_level - 1] == IN_TAG_BEGIN
//~ && !strcmp(param, TEX_PARAM_TABLE))
//~ where_stack[tex_level++] = IN_TABLE;//??????????????????????
/*if (tex_level && where_stack[tex_level - 1] == IN_TAG_BEGIN
&& !strcmp(param, TEX_PARAM_TABLE))
where_stack[tex_level++] = IN_TABLE;*/
} else if (c == '\\') { // new tag
zclear(&tag);

View File

@ -16,12 +16,11 @@ long_line_behaviour=1
long_line_column=72
[files]
current_page=4
FILE_NAME_0=21;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser_test.c;0
FILE_NAME_1=298;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser.c;0
FILE_NAME_2=0;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser.h;0
FILE_NAME_3=133;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser_tags.h;0
FILE_NAME_4=276;Make;0;16;1;1;1;/home/kolan/dev/c/tex_parser/Makefile;0
current_page=3
FILE_NAME_0=259;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser_test.c;0
FILE_NAME_1=3895;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser.c;0
FILE_NAME_2=3453;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser.h;0
FILE_NAME_3=579;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser_tags.h;0
[build-menu]
NF_00_LB=_Сделать

View File

@ -37,9 +37,9 @@ enum tex_parser_error {
* array dimensions.
*/
struct tex_table_row_s {
char *over_line; // \hline, \cline{4-5} etc.
char **cells; // cells devided by &
char *under_line; // \hline, \cline{4-5} etc.
char *over_line;
char **cells;
char *under_line;
};
/**