freebsd-nq/usr.bin/indent/tests
Piotr Pawel Stefaniak 01c66110e1 indent(1): rewrite the integer/floating constant scanning part of lexi.c
Remove procedural code that did the scanning, which was faulty and didn't
support complex constants such as 0x1p-61. Replace it with a finite state
machine expressed as a transition table. The table was rewritten by hand
from lx's output, given parts of grammar expressed as regular expressions.

lx is Katherine Flavel's lexer generator, currently available at
https://github.com/katef/libfsm and the parts of grammar were taken from
http://quut.com/c/ANSI-C-grammar-l-2011.html and extended to support binary
integer constants which are a popular GCC extension.

Reported by:	bde
2018-07-16 05:46:50 +00:00
..
binary.0
binary.0.stdout
comments.0 indent(1): improve handling of boxed comments indentation 2018-06-03 15:28:55 +00:00
comments.0.pro
comments.0.stdout indent(1): improve handling of boxed comments indentation 2018-06-03 15:28:55 +00:00
cs.0 indent(1): rename -nsac/-sac ("space after cast") to -ncs/-cs 2018-06-11 05:35:57 +00:00
cs.0.pro indent(1): rename -nsac/-sac ("space after cast") to -ncs/-cs 2018-06-11 05:35:57 +00:00
cs.0.stdout indent(1): rename -nsac/-sac ("space after cast") to -ncs/-cs 2018-06-11 05:35:57 +00:00
declarations.0 indent(1): don't indent typedef declarations as object declarations 2018-06-01 09:41:15 +00:00
declarations.0.stdout indent(1): don't add unneeded space to function pointer declarations 2018-06-01 09:58:44 +00:00
elsecomment.0 indent(1): improve handling of comments and newlines between "if (...)" or 2018-06-03 14:03:20 +00:00
elsecomment.0.pro
elsecomment.0.stdout indent(1): improve handling of comments and newlines between "if (...)" or 2018-06-03 14:03:20 +00:00
f_decls.0 indent(1): don't format function declarations as variables 2018-06-03 16:42:58 +00:00
f_decls.0.stdout indent(1): don't format function declarations as variables 2018-06-03 16:42:58 +00:00
float.0 indent(1): rewrite the integer/floating constant scanning part of lexi.c 2018-07-16 05:46:50 +00:00
float.0.stdout indent(1): rewrite the integer/floating constant scanning part of lexi.c 2018-07-16 05:46:50 +00:00
functional_test.sh
label.0
label.0.pro
label.0.stdout
list_head.0
list_head.0.stdout
Makefile indent(1): rename -nsac/-sac ("space after cast") to -ncs/-cs 2018-06-11 05:35:57 +00:00
Makefile.depend
ncs.0 indent(1): rename -nsac/-sac ("space after cast") to -ncs/-cs 2018-06-11 05:35:57 +00:00
ncs.0.pro indent(1): rename -nsac/-sac ("space after cast") to -ncs/-cs 2018-06-11 05:35:57 +00:00
ncs.0.stdout indent(1): rename -nsac/-sac ("space after cast") to -ncs/-cs 2018-06-11 05:35:57 +00:00
offsetof.0
offsetof.0.stdout
parens.0 indent(1): if an identifier can be either a typedef name or as a struct 2018-06-03 19:05:20 +00:00
parens.0.pro indent(1): if an identifier can be either a typedef name or as a struct 2018-06-03 19:05:20 +00:00
parens.0.stdout indent(1): if an identifier can be either a typedef name or as a struct 2018-06-03 19:05:20 +00:00
pcs.0 indent(1): restore working -pcs 2018-06-01 19:56:41 +00:00
pcs.0.pro indent(1): restore working -pcs 2018-06-01 19:56:41 +00:00
pcs.0.stdout indent(1): restore working -pcs 2018-06-01 19:56:41 +00:00
struct.0 indent(1): disjoint parser state from lexi() 2018-06-03 16:21:15 +00:00
struct.0.stdout indent(1): disjoint parser state from lexi() 2018-06-03 16:21:15 +00:00
surplusbad.0
surplusbad.0.pro
surplusbad.0.stdout
types_from_file.0
types_from_file.0.list
types_from_file.0.pro
types_from_file.0.stdout
wchar.0
wchar.0.stdout