]> granicus.if.org Git - flex/log
flex
7 years agodoc: mark 2.6.2 release date v2.6.2
Will Estes [Mon, 24 Oct 2016 22:29:36 +0000 (18:29 -0400)]
doc: mark 2.6.2 release date

7 years agobuild: switch xz to lzip
Will Estes [Mon, 24 Oct 2016 22:26:22 +0000 (18:26 -0400)]
build: switch xz to lzip

7 years agoFix M4 quotation in section 2 prologue and refactor duplicated code
Demi Obenour [Thu, 20 Oct 2016 19:55:47 +0000 (15:55 -0400)]
Fix M4 quotation in section 2 prologue and refactor duplicated code

7 years agoUpdate flex.texi: Removed repedative wording
Alex Kennedy [Sat, 22 Oct 2016 03:42:36 +0000 (20:42 -0700)]
Update flex.texi: Removed repedative wording

"Flex used to" was written twice at the beginning of Chapter 9, paragraph 2.

7 years agoImproved M4 quotation
Demi Obenour [Tue, 27 Sep 2016 14:54:16 +0000 (10:54 -0400)]
Improved M4 quotation

This fixes M4 quotation of certain strings beginning with `yy` (in
section 3 of the input file only) and character literals.  The new
quotation method is also less brittle and faster.

Tests that relied on the old behavior were fixed.

Also, `yyconst` is no longer defined; use `const` (which it
unconditionally was defined to) instead.

7 years agobuild: for automake, flex is foreign
Will Estes [Wed, 19 Oct 2016 21:00:50 +0000 (17:00 -0400)]
build: for automake, flex is foreign

7 years agodoc: mv README to README.md
Will Estes [Wed, 19 Oct 2016 14:27:23 +0000 (10:27 -0400)]
doc: mv README to README.md

7 years agodoc: touch up README
Will Estes [Wed, 19 Oct 2016 14:26:44 +0000 (10:26 -0400)]
doc: touch up README

7 years agodoc: README no longer mentions sourceforge
Will Estes [Wed, 19 Oct 2016 09:25:36 +0000 (05:25 -0400)]
doc: README no longer mentions sourceforge

7 years agodoc: update NEWS with more post-2.6.1 additions
Will Estes [Thu, 6 Oct 2016 20:39:04 +0000 (16:39 -0400)]
doc: update NEWS with more post-2.6.1 additions

7 years agoFix M4 quoting of section 3.
Demi Obenour [Tue, 27 Sep 2016 14:54:16 +0000 (10:54 -0400)]
Fix M4 quoting of section 3.

This fixes M4 quoting of section 3 of the input file, including escape
sequences and character constants.

Tests were added to verify the behavior in section 3 with respect to
quoting. Both escaping of quotes and quoting of potential macro-start
characters are tested. Existing tests were also fixed to account for the new -- and now correct -- behavior. Many tests relied on the old behavior of expanding M4 macros
in section 3.  They needed to be updated for the new behavior.

7 years agoFix yyrestart(NULL) SEGV.
Mightyjo [Tue, 4 Oct 2016 02:50:00 +0000 (22:50 -0400)]
Fix yyrestart(NULL) SEGV.

7 years agoscanner: M4 quoting fixes
Demi Obenour [Tue, 6 Sep 2016 00:43:32 +0000 (20:43 -0400)]
scanner: M4 quoting fixes

7 years agoSupport `make indent` for out of source builds
Demi Obenour [Tue, 6 Sep 2016 00:43:14 +0000 (20:43 -0400)]
Support `make indent` for out of source builds

7 years agoSimplify some shell code
Demi Obenour [Sun, 25 Sep 2016 03:35:07 +0000 (23:35 -0400)]
Simplify some shell code

7 years agono longer generate K&R C scanners
Demi Obenour [Fri, 23 Sep 2016 15:28:56 +0000 (11:28 -0400)]
no longer generate K&R C scanners

7 years agoFix escaping of `[[` and `]]` in strings
Demi Obenour [Sun, 4 Sep 2016 22:27:36 +0000 (18:27 -0400)]
Fix escaping of `[[` and `]]` in strings

Previously, `[[` and `]]` were not escaped in strings, which led
to bad interactions with m4.

Also, don't break strings on newline, as GCC et al support whitespace
between a backslash and the subsequent newline.

7 years agonew sv translation
Translation Project [Mon, 20 Jun 2016 13:17:57 +0000 (09:17 -0400)]
new sv translation

8 years agoDelete action_m4_define from misc.c
Demetri Obenour [Mon, 23 May 2016 21:36:33 +0000 (17:36 -0400)]
Delete action_m4_define from misc.c

This function was not used and always triggered a fatal error when run.

8 years agotest: run direct tests from srcdir
Will Estes [Fri, 20 May 2016 21:25:10 +0000 (17:25 -0400)]
test: run direct tests from srcdir

8 years agoExited with error code on some conditions in include tests
Egor Pugin [Mon, 11 Jan 2016 12:36:11 +0000 (07:36 -0500)]
Exited with error code on some conditions in include tests

8 years agotest: drop .exe when making input file names
Will Estes [Fri, 20 May 2016 18:16:14 +0000 (14:16 -0400)]
test: drop .exe when making input file names

8 years agotest: removed dependencies for include tests
Will Estes [Fri, 20 May 2016 16:53:53 +0000 (12:53 -0400)]
test: removed dependencies for include tests

8 years agoAvoid realloc on every call of sf_push()
Tobias Klauser [Thu, 28 Apr 2016 08:12:52 +0000 (10:12 +0200)]
Avoid realloc on every call of sf_push()

Currently, every call to sf_push() realloc()'s _sf_stack, even if the
maximum size _sf_max wasn't changed. As the indentation beneath the
"if" clause already indicates, the realloc() should only be executed
if _sf_max was increased.

Found by compiling flex with the -Wmisleading-indentation flags of gcc,
which leads to the following warning:

scanflags.c: In function ‘sf_push’:
scanflags.c:42:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if (_sf_top_ix + 1 >= _sf_max)
     ^~
scanflags.c:44:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
         _sf_stk = realloc(_sf_stk, sizeof(scanflags_t) * _sf_max);
         ^~~~~~~

8 years agobuild: prettified command to build man page
Will Estes [Thu, 31 Mar 2016 22:47:00 +0000 (18:47 -0400)]
build: prettified command to build man page

8 years agobuild: added man page to DISTCLEANFILES
Will Estes [Thu, 31 Mar 2016 22:46:23 +0000 (18:46 -0400)]
build: added man page to DISTCLEANFILES

8 years agoremove unused TODO, BUGS files
Will Estes [Thu, 31 Mar 2016 20:09:28 +0000 (16:09 -0400)]
remove unused TODO, BUGS files

8 years agoremoved to.do/ directory
Will Estes [Thu, 31 Mar 2016 19:58:16 +0000 (15:58 -0400)]
removed to.do/ directory

8 years agogettext: removed flex.skl from POTFILES.in file list
Will Estes [Thu, 31 Mar 2016 17:36:09 +0000 (13:36 -0400)]
gettext: removed flex.skl from POTFILES.in file list

8 years agofix skel.c dependency (missing tables_shared.c) and
rlar [Thu, 31 Mar 2016 15:19:20 +0000 (11:19 -0400)]
fix skel.c dependency (missing tables_shared.c) and
 polish build rule

Also remove references to srcdir since skel.c is no longer mentioned in po/POTFILES.in.

8 years agofix flex.1 dependency
rlar [Thu, 31 Mar 2016 13:35:55 +0000 (15:35 +0200)]
fix flex.1 dependency

git clean -fdx && ./autogen.sh && \
  mkdir -p ../build && cd ../build && ../flex/configure && make -j10 && \
  make dist

failed with:

>  help2man: can't get `--help' info from ../../flex/src/flex

Note:
  There is no dependency except for the flex binary.

8 years agofix stage1scan.c and stage1scan.l dependency
rlar [Thu, 31 Mar 2016 13:21:48 +0000 (15:21 +0200)]
fix stage1scan.c and stage1scan.l dependency

git clean -fdx && ./autogen.sh && \
  mkdir -p ../build && cd ../build && ../flex/configure && make -j10

failed with:

> ../src/stage1flex -o stage1scan.c stage1scan.l
> stage1flex: can't open stage1scan.l

Note:
  stage1scan.c is not necessairy in the "make dist" generated tar.gz file.
  stage1flex will be build from scan.c (which is distributed),
    and this will then generate stage1scan.c from scan.l

8 years agogettext: list src/flex.skl in po/POTFILES.in
Will Estes [Thu, 31 Mar 2016 14:21:56 +0000 (10:21 -0400)]
gettext: list src/flex.skl in po/POTFILES.in

8 years agowarning in generated code, with -Ca
rlar [Tue, 29 Mar 2016 17:27:54 +0000 (19:27 +0200)]
warning in generated code, with -Ca

warning: conversion to 'yy_state_type' from 'flex_uint32_t' may change the sign of the result [-Wsign-conversion]

8 years agosuppress `WARNINGFLAGS' for the almost obsolete `noansi' test cases
rlar [Tue, 29 Mar 2016 12:00:00 +0000 (14:00 +0200)]
suppress `WARNINGFLAGS' for the almost obsolete `noansi' test cases

8 years agoconfigure option `--enable-warnings' and `WARNINGFLAGS'
rlar [Tue, 29 Mar 2016 11:59:39 +0000 (13:59 +0200)]
configure option `--enable-warnings' and `WARNINGFLAGS'

`WARNINGFLAGS' can be passed when invoking `configure'
 and when invoking `make'

if configure switch `--enable-warnings' was given
  then default to something useful if we have `GCC'

`WARNINGFLAGS' is not used when compiling `stage1flex'
  to avoid unnecessary clutter

8 years agoFix potential buffer overflow in strncat()
Tobias Klauser [Thu, 31 Mar 2016 08:09:57 +0000 (10:09 +0200)]
Fix potential buffer overflow in strncat()

When using clang/llvm 3.8 to compile flex, the following warning is
emitted:

main.c:378:27: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size]
                                        strncat(m4_path, m4, sizeof(m4_path));
                                                             ^~~~~~~~~~~~~~~
main.c:378:27: note: change the argument to be the free space in the destination buffer minus the terminating null byte
                                        strncat(m4_path, m4, sizeof(m4_path));
                                                             ^~~~~~~~~~~~~~~
                                                             sizeof(m4_path) - strlen(m4_path) - 1

Fix it up by using the solution proposed by the warning message.

8 years agobuild: simplified dependency tracking so parallel make runs succeed
Robert.Larice Robert Larice [Tue, 29 Mar 2016 19:19:00 +0000 (15:19 -0400)]
build: simplified dependency tracking so parallel make runs succeed

8 years agoavoid warning in generated code, with -Cf
rlar [Sun, 20 Mar 2016 19:13:42 +0000 (20:13 +0100)]
avoid warning in generated code, with -Cf

warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]

8 years agomention v2.6.2; summarize changes since 2.6.1
Will Estes [Fri, 18 Mar 2016 19:25:10 +0000 (15:25 -0400)]
mention v2.6.2; summarize changes since 2.6.1

8 years agodoc: corrected example in manual, gh#67
Will Estes [Fri, 18 Mar 2016 19:09:44 +0000 (15:09 -0400)]
doc: corrected example in manual, gh#67

8 years agowarning: conversion to 'size_t' from 'int' may change the sign of the result [-Wsign...
rlar [Wed, 16 Mar 2016 18:47:44 +0000 (19:47 +0100)]
warning: conversion to 'size_t' from 'int' may change the sign of the result [-Wsign-conversion]

8 years agowarning: conversion to 'long unsigned int' from 'int' may change the sign of the...
rlar [Wed, 16 Mar 2016 18:46:14 +0000 (19:46 +0100)]
warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]

8 years agowarning: conversion to 'flex_uint32_t' from 'long unsigned int' may alter its value...
rlar [Wed, 16 Mar 2016 18:45:56 +0000 (19:45 +0100)]
warning: conversion to 'flex_uint32_t' from 'long unsigned int' may alter its value [-Wconversion]

struct yytbl_reader, member bread is of type flex_uint32_t

8 years agowarning: redundant redeclaration of '...' [-Wredundant-decls]
rlar [Wed, 16 Mar 2016 18:45:41 +0000 (19:45 +0100)]
warning: redundant redeclaration of '...' [-Wredundant-decls]

8 years agowarning: no previous prototype for '...' [-Wmissing-prototypes]
rlar [Wed, 16 Mar 2016 18:45:37 +0000 (19:45 +0100)]
warning: no previous prototype for '...' [-Wmissing-prototypes]

8 years agowarning: unused variable 'fp' [-Wunused-variable]
rlar [Wed, 16 Mar 2016 18:45:22 +0000 (19:45 +0100)]
warning: unused variable 'fp' [-Wunused-variable]

8 years agomain(), warning: redundant redeclaration of 'main' [-Wredundant-decls]
rlar [Wed, 16 Mar 2016 18:45:10 +0000 (19:45 +0100)]
main(), warning: redundant redeclaration of 'main' [-Wredundant-decls]

8 years agomain(), warning: old-style function definition [-Wold-style-definition]
rlar [Wed, 16 Mar 2016 18:44:53 +0000 (19:44 +0100)]
main(), warning: old-style function definition [-Wold-style-definition]

8 years agomain(), warning: old-style function definition [-Wold-style-definition]
rlar [Wed, 16 Mar 2016 18:44:46 +0000 (19:44 +0100)]
main(), warning: old-style function definition [-Wold-style-definition]

8 years agoFix two more casts
rlar [Tue, 1 Mar 2016 19:10:29 +0000 (20:10 +0100)]
Fix two more casts

8 years agoFixes yyl compare with unsigned warning
Bastian Köcher [Mon, 14 Mar 2016 15:48:15 +0000 (16:48 +0100)]
Fixes yyl compare with unsigned warning

8 years agoSuppress portability warnings in Makefile generation
Robert Larice [Sun, 13 Mar 2016 14:55:57 +0000 (10:55 -0400)]
Suppress portability warnings in Makefile generation

8 years agogenerated code, in yyensure_buffer_stack(), change type of local `num_to_alloc'
rlar [Sat, 27 Feb 2016 22:00:14 +0000 (23:00 +0100)]
generated code, in yyensure_buffer_stack(), change type of local `num_to_alloc'

which is exclusively used in yy_size_t context

8 years agogenerated code, in yy_get_next_buffer(), change type of local `number_to_move'
rlar [Tue, 1 Mar 2016 18:36:08 +0000 (19:36 +0100)]
generated code, in yy_get_next_buffer(), change type of local `number_to_move'

suits better, because `yy_n_chars' and `yy_buf_size' are of type `int'

8 years agogenerated code, `_yybytes_len' is of type `int', fix code accordingly
rlar [Sat, 27 Feb 2016 21:46:02 +0000 (22:46 +0100)]
generated code, `_yybytes_len' is of type `int', fix code accordingly

8 years agogenerated code, `max_size' seems to be of type `int', fix casts accordingly
rlar [Sun, 28 Feb 2016 14:20:31 +0000 (15:20 +0100)]
generated code, `max_size' seems to be of type `int', fix casts accordingly

8 years agogenerated code, here `new_size' is of type `int', fix casts accordingly
rlar [Sun, 28 Feb 2016 14:20:31 +0000 (15:20 +0100)]
generated code, here `new_size' is of type `int', fix casts accordingly

8 years agogenerated code, `yy_buf_size' is of type `int', fix casts accordingly
rlar [Sun, 28 Feb 2016 14:20:31 +0000 (15:20 +0100)]
generated code, `yy_buf_size' is of type `int', fix casts accordingly

8 years agogenerated code, `offset' is of type `int'
rlar [Sun, 28 Feb 2016 14:20:31 +0000 (15:20 +0100)]
generated code, `offset' is of type `int'

8 years agogenerated code, `yy_more_len' is of type `int'
rlar [Sun, 28 Feb 2016 14:19:11 +0000 (15:19 +0100)]
generated code, `yy_more_len' is of type `int'

8 years agoscan.l, rewrite two loops to avoid unneccesairy casting
rlar [Sun, 28 Feb 2016 09:36:06 +0000 (10:36 +0100)]
scan.l, rewrite two loops to avoid unneccesairy casting

8 years agoimprove readability
rlar [Tue, 1 Mar 2016 17:22:25 +0000 (18:22 +0100)]
improve readability

8 years agoanother cast in tblcmp.c to avoid warning
rlar [Sun, 28 Feb 2016 13:48:51 +0000 (14:48 +0100)]
another cast in tblcmp.c to avoid warning

8 years agocasts in buf_append() to get rid of warnings
rlar [Sun, 28 Feb 2016 15:23:22 +0000 (16:23 +0100)]
casts in buf_append() to get rid of warnings

8 years agocast to suite type of flex_uint32_t td_lolen
rlar [Sun, 28 Feb 2016 14:58:10 +0000 (15:58 +0100)]
cast to suite type of flex_uint32_t td_lolen

8 years agocast to get rid of warnings
rlar [Sun, 28 Feb 2016 20:12:45 +0000 (21:12 +0100)]
cast to get rid of warnings

8 years agocast and fix usage of log10(), ceil to prevent buffer overflow
rlar [Tue, 1 Mar 2016 16:59:09 +0000 (17:59 +0100)]
cast and fix usage of log10(), ceil to prevent buffer overflow

8 years agotables.c, sprinkle casts to get rid of warnings
rlar [Tue, 1 Mar 2016 16:49:52 +0000 (17:49 +0100)]
tables.c, sprinkle casts to get rid of warnings

8 years agoyytbl_data_compress(), change type of local newsz to get rid of warnings
rlar [Tue, 1 Mar 2016 16:43:44 +0000 (17:43 +0100)]
yytbl_data_compress(), change type of local newsz to get rid of warnings

8 years agochange type of struct yytbl_writer.total_written to get rid of warnings
rlar [Tue, 1 Mar 2016 16:38:16 +0000 (17:38 +0100)]
change type of struct yytbl_writer.total_written to get rid of warnings

8 years agochange argument type of yytbl_writen() to get rid of warnings
rlar [Sun, 28 Feb 2016 19:57:29 +0000 (20:57 +0100)]
change argument type of yytbl_writen() to get rid of warnings

8 years agoyytbl_write8/16/32(), change type of local variables to get rid of warnings
rlar [Tue, 1 Mar 2016 16:31:13 +0000 (17:31 +0100)]
yytbl_write8/16/32(), change type of local variables to get rid of warnings

8 years agochange return type and rename int htoi()/otoi() --> unsigned int htoui()/otoui()
rlar [Sun, 28 Feb 2016 15:49:53 +0000 (16:49 +0100)]
change return type and rename int htoi()/otoi() --> unsigned int htoui()/otoui()

8 years agoMention 2.6.1 release date v2.6.1
Will Estes [Wed, 2 Mar 2016 00:24:24 +0000 (19:24 -0500)]
Mention 2.6.1 release date

8 years agoavoid warning, add (int) cast to the read() return value
rlar [Sun, 28 Feb 2016 18:38:21 +0000 (19:38 +0100)]
avoid warning, add (int) cast to the read() return value

For similiarity with the fread() case.

8 years agoavoid warning, POSIX says yyless() has an `int' argument
rlar [Sun, 28 Feb 2016 09:41:23 +0000 (10:41 +0100)]
avoid warning, POSIX says yyless() has an `int' argument

8 years agouse type size_t in filter_tee_header() to avoid warnings
rlar [Mon, 29 Feb 2016 19:26:18 +0000 (20:26 +0100)]
use type size_t in filter_tee_header() to avoid warnings

8 years agoadd (size_t) casts to malloc invocations to prevent warnings
rlar [Mon, 29 Feb 2016 19:15:29 +0000 (20:15 +0100)]
add (size_t) casts to malloc invocations to prevent warnings

8 years agoadd (int) casts to some strlen() invocations to prevent warnings
rlar [Mon, 29 Feb 2016 18:41:04 +0000 (19:41 +0100)]
add (int) casts to some strlen() invocations to prevent warnings

8 years agondlookup(), char *, to get rid of casts and warnings
rlar [Mon, 29 Feb 2016 17:43:05 +0000 (18:43 +0100)]
ndlookup(), char *, to get rid of casts and warnings

8 years agondinstal(), char *, to get rid of casts and warnings
rlar [Sun, 28 Feb 2016 19:11:49 +0000 (20:11 +0100)]
ndinstal(), char *, to get rid of casts and warnings

8 years agocclinstal() and ccllookup(), char *, to get rid of casts and warnings
rlar [Sun, 28 Feb 2016 19:08:24 +0000 (20:08 +0100)]
cclinstal() and ccllookup(), char *, to get rid of casts and warnings

8 years agowarning: redundant redeclaration of ‘gen_next_state’ [-Wredundant-decls]
rlar [Sun, 28 Feb 2016 14:50:24 +0000 (15:50 +0100)]
warning: redundant redeclaration of ‘gen_next_state’ [-Wredundant-decls]

8 years agowarning: no previous prototype for ‘mkecstbl’ [-Wmissing-prototypes]
rlar [Sun, 28 Feb 2016 14:50:46 +0000 (15:50 +0100)]
warning: no previous prototype for ‘mkecstbl’ [-Wmissing-prototypes]

8 years agowarning: suggest parentheses around assignment used as truth value [-Wparentheses]
rlar [Sun, 28 Feb 2016 15:32:59 +0000 (16:32 +0100)]
warning: suggest parentheses around assignment used as truth value [-Wparentheses]

8 years agowarning: redundant redeclaration of ‘yywrap’ [-Wredundant-decls]
rlar [Sun, 28 Feb 2016 13:21:49 +0000 (14:21 +0100)]
warning: redundant redeclaration of ‘yywrap’ [-Wredundant-decls]

8 years agowarning: redundant redeclaration of ‘yylval’ [-Wredundant-decls]
rlar [Sun, 28 Feb 2016 12:52:26 +0000 (13:52 +0100)]
warning: redundant redeclaration of ‘yylval’ [-Wredundant-decls]

8 years agowarning: redundant redeclaration of ‘yyin’ [-Wredundant-decls]
rlar [Sun, 28 Feb 2016 12:49:44 +0000 (13:49 +0100)]
warning: redundant redeclaration of ‘yyin’ [-Wredundant-decls]

8 years agowarning: redundant redeclaration of ‘yyparse’ [-Wredundant-decls]
rlar [Sun, 28 Feb 2016 13:20:14 +0000 (14:20 +0100)]
warning: redundant redeclaration of ‘yyparse’ [-Wredundant-decls]

8 years agounification, rename some more
rlar [Sun, 28 Feb 2016 13:19:04 +0000 (14:19 +0100)]
unification, rename some more

rename these too for improved similiarity:
  OPTION_OP OPT_HEADER OPT_EXTRA_TYPE OPT_TABLES

8 years agofix name clash, OPT_OUTFILE from parse.y and from options.h
rlar [Sun, 28 Feb 2016 13:17:36 +0000 (14:17 +0100)]
fix name clash, OPT_OUTFILE from parse.y and from options.h

these collide:
  OPT_OUTFILE OPT_PREFIX OPT_YYCLASS
rename them TOK_... in the parser

8 years agoPrototyped reallocarray implementation
Will Estes [Sun, 28 Feb 2016 21:23:19 +0000 (16:23 -0500)]
Prototyped reallocarray implementation

8 years agoRemoved custom strcasecmp() function
Will Estes [Sun, 28 Feb 2016 20:51:57 +0000 (15:51 -0500)]
Removed custom strcasecmp() function

8 years agofwrite wants a size_t, yyleng is int per posix
rlar [Sun, 28 Feb 2016 09:46:37 +0000 (10:46 +0100)]
fwrite wants a size_t, yyleng is int per posix

8 years agoRemove some unneeded casts
rlar [Sun, 28 Feb 2016 10:54:00 +0000 (11:54 +0100)]
Remove some unneeded casts

8 years agowarning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
rlar [Sun, 28 Feb 2016 10:42:41 +0000 (11:42 +0100)]
warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]

8 years agodfa.c:157:24: warning: conversion to 'size_t' from 'int' may change the sign of the...
rlar [Sat, 27 Feb 2016 18:10:48 +0000 (19:10 +0100)]
dfa.c:157:24: warning: conversion to 'size_t' from 'int' may change the sign of the result [-Wsign-conversion]

most certainly safe cast

8 years agoccl.c:86:19: warning: conversion to 'unsigned char' from 'int' may alter its value...
rlar [Sat, 27 Feb 2016 18:08:04 +0000 (19:08 +0100)]
ccl.c:86:19: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion]

ch seems to have been checked for proper range some lines above

8 years agowarning: deprecated directive, use '%pure-parser' [-Wdeprecated]
rlar [Sat, 27 Feb 2016 16:42:52 +0000 (17:42 +0100)]
warning: deprecated directive, use '%pure-parser' [-Wdeprecated]