First cut at translating scan-code.l and scan-gram.l from Bison, do more ANSI C
authorNick Downing <nick@ndcode.org>
Wed, 16 Jan 2019 02:05:41 +0000 (13:05 +1100)
committerNick Downing <nick@ndcode.org>
Wed, 16 Jan 2019 02:05:41 +0000 (13:05 +1100)
commit72db1a99e8e931bab4c8f42170cbd79ebedf06fd
tree10d18729b5a6dd771b65e37fdda045e322eb90ec
parent57c6070311bae7cd58a309589f6b889015591d07
First cut at translating scan-code.l and scan-gram.l from Bison, do more ANSI C
184 files changed:
ansi_c.l
ansi_c.y
ast.py
l_to_python.py
n.sh
p.sh [new file with mode: 0755]
q.sh [new file with mode: 0755]
scan-code_to_l.py [new file with mode: 0755]
scan-gram_to_l.py [new file with mode: 0755]
tests/bison_h/_Noreturn.h [new file with mode: 0644]
tests/bison_h/abitset.h [new file with mode: 0644]
tests/bison_h/alignof.h [new file with mode: 0644]
tests/bison_h/alloca.h [new file with mode: 0644]
tests/bison_h/alloca.in.h [new file with mode: 0644]
tests/bison_h/arg-nonnull.h [new file with mode: 0644]
tests/bison_h/argmatch.h [new file with mode: 0644]
tests/bison_h/bbitset.h [new file with mode: 0644]
tests/bison_h/binary-io.h [new file with mode: 0644]
tests/bison_h/bitrotate.h [new file with mode: 0644]
tests/bison_h/bitset.h [new file with mode: 0644]
tests/bison_h/bitset_stats.h [new file with mode: 0644]
tests/bison_h/bitsetv-print.h [new file with mode: 0644]
tests/bison_h/bitsetv.h [new file with mode: 0644]
tests/bison_h/c++defs.h [new file with mode: 0644]
tests/bison_h/c-ctype.h [new file with mode: 0644]
tests/bison_h/c-strcase.h [new file with mode: 0644]
tests/bison_h/c-strcaseeq.h [new file with mode: 0644]
tests/bison_h/cloexec.h [new file with mode: 0644]
tests/bison_h/close-stream.h [new file with mode: 0644]
tests/bison_h/closeout.h [new file with mode: 0644]
tests/bison_h/concat-filename.h [new file with mode: 0644]
tests/bison_h/config.h [new file with mode: 0644]
tests/bison_h/config.in.h [new file with mode: 0644]
tests/bison_h/configmake.h [new file with mode: 0644]
tests/bison_h/dirname.h [new file with mode: 0644]
tests/bison_h/dosname.h [new file with mode: 0644]
tests/bison_h/ebitset.h [new file with mode: 0644]
tests/bison_h/errno.in.h [new file with mode: 0644]
tests/bison_h/error.h [new file with mode: 0644]
tests/bison_h/exitfail.h [new file with mode: 0644]
tests/bison_h/fatal-signal.h [new file with mode: 0644]
tests/bison_h/fcntl.h [new file with mode: 0644]
tests/bison_h/fcntl.in.h [new file with mode: 0644]
tests/bison_h/fd-hook.h [new file with mode: 0644]
tests/bison_h/filename.h [new file with mode: 0644]
tests/bison_h/float+.h [new file with mode: 0644]
tests/bison_h/float.in.h [new file with mode: 0644]
tests/bison_h/fpending.h [new file with mode: 0644]
tests/bison_h/fpucw.h [new file with mode: 0644]
tests/bison_h/fseterr.h [new file with mode: 0644]
tests/bison_h/get-errno.h [new file with mode: 0644]
tests/bison_h/getopt-cdefs.in.h [new file with mode: 0644]
tests/bison_h/getopt-core.h [new file with mode: 0644]
tests/bison_h/getopt-ext.h [new file with mode: 0644]
tests/bison_h/getopt-pfx-core.h [new file with mode: 0644]
tests/bison_h/getopt-pfx-ext.h [new file with mode: 0644]
tests/bison_h/getopt.in.h [new file with mode: 0644]
tests/bison_h/getopt_int.h [new file with mode: 0644]
tests/bison_h/getprogname.h [new file with mode: 0644]
tests/bison_h/gettext.h [new file with mode: 0644]
tests/bison_h/hard-locale.h [new file with mode: 0644]
tests/bison_h/hash.h [new file with mode: 0644]
tests/bison_h/intprops.h [new file with mode: 0644]
tests/bison_h/inttypes.h [new file with mode: 0644]
tests/bison_h/inttypes.in.h [new file with mode: 0644]
tests/bison_h/isnand-nolibm.h [new file with mode: 0644]
tests/bison_h/isnanf-nolibm.h [new file with mode: 0644]
tests/bison_h/isnanl-nolibm.h [new file with mode: 0644]
tests/bison_h/lbitset.h [new file with mode: 0644]
tests/bison_h/libiberty.h [new file with mode: 0644]
tests/bison_h/limits.h [new file with mode: 0644]
tests/bison_h/limits.in.h [new file with mode: 0644]
tests/bison_h/localcharset.h [new file with mode: 0644]
tests/bison_h/malloca.h [new file with mode: 0644]
tests/bison_h/math.h [new file with mode: 0644]
tests/bison_h/math.in.h [new file with mode: 0644]
tests/bison_h/mbswidth.h [new file with mode: 0644]
tests/bison_h/minmax.h [new file with mode: 0644]
tests/bison_h/msvc-inval.h [new file with mode: 0644]
tests/bison_h/msvc-nothrow.h [new file with mode: 0644]
tests/bison_h/obstack.h [new file with mode: 0644]
tests/bison_h/pathmax.h [new file with mode: 0644]
tests/bison_h/printf-args.h [new file with mode: 0644]
tests/bison_h/printf-frexp.h [new file with mode: 0644]
tests/bison_h/printf-frexpl.h [new file with mode: 0644]
tests/bison_h/printf-parse.h [new file with mode: 0644]
tests/bison_h/progname.h [new file with mode: 0644]
tests/bison_h/quote.h [new file with mode: 0644]
tests/bison_h/quotearg.h [new file with mode: 0644]
tests/bison_h/sched.in.h [new file with mode: 0644]
tests/bison_h/sig-handler.h [new file with mode: 0644]
tests/bison_h/signal.h [new file with mode: 0644]
tests/bison_h/signal.in.h [new file with mode: 0644]
tests/bison_h/size_max.h [new file with mode: 0644]
tests/bison_h/spawn-pipe.h [new file with mode: 0644]
tests/bison_h/spawn.h [new file with mode: 0644]
tests/bison_h/spawn.in.h [new file with mode: 0644]
tests/bison_h/spawn_int.h [new file with mode: 0644]
tests/bison_h/src/AnnotationList.h [new file with mode: 0644]
tests/bison_h/src/InadequacyList.h [new file with mode: 0644]
tests/bison_h/src/LR0.h [new file with mode: 0644]
tests/bison_h/src/Sbitset.h [new file with mode: 0644]
tests/bison_h/src/assoc.h [new file with mode: 0644]
tests/bison_h/src/closure.h [new file with mode: 0644]
tests/bison_h/src/complain.h [new file with mode: 0644]
tests/bison_h/src/conflicts.h [new file with mode: 0644]
tests/bison_h/src/derives.h [new file with mode: 0644]
tests/bison_h/src/files.h [new file with mode: 0644]
tests/bison_h/src/flex-scanner.h [new file with mode: 0644]
tests/bison_h/src/getargs.h [new file with mode: 0644]
tests/bison_h/src/gram.h [new file with mode: 0644]
tests/bison_h/src/graphviz.h [new file with mode: 0644]
tests/bison_h/src/ielr.h [new file with mode: 0644]
tests/bison_h/src/lalr.h [new file with mode: 0644]
tests/bison_h/src/location.h [new file with mode: 0644]
tests/bison_h/src/muscle-tab.h [new file with mode: 0644]
tests/bison_h/src/named-ref.h [new file with mode: 0644]
tests/bison_h/src/nullable.h [new file with mode: 0644]
tests/bison_h/src/output.h [new file with mode: 0644]
tests/bison_h/src/parse-gram.h [new file with mode: 0644]
tests/bison_h/src/print-xml.h [new file with mode: 0644]
tests/bison_h/src/print.h [new file with mode: 0644]
tests/bison_h/src/print_graph.h [new file with mode: 0644]
tests/bison_h/src/reader.h [new file with mode: 0644]
tests/bison_h/src/reduce.h [new file with mode: 0644]
tests/bison_h/src/relation.h [new file with mode: 0644]
tests/bison_h/src/scan-code.h [new file with mode: 0644]
tests/bison_h/src/scan-gram.h [new file with mode: 0644]
tests/bison_h/src/scan-skel.h [new file with mode: 0644]
tests/bison_h/src/state.h [new file with mode: 0644]
tests/bison_h/src/symlist.h [new file with mode: 0644]
tests/bison_h/src/symtab.h [new file with mode: 0644]
tests/bison_h/src/system.h [new file with mode: 0644]
tests/bison_h/src/tables.h [new file with mode: 0644]
tests/bison_h/src/uniqstr.h [new file with mode: 0644]
tests/bison_h/stat-time.h [new file with mode: 0644]
tests/bison_h/stat-w32.h [new file with mode: 0644]
tests/bison_h/stdbool.in.h [new file with mode: 0644]
tests/bison_h/stddef.in.h [new file with mode: 0644]
tests/bison_h/stdint.in.h [new file with mode: 0644]
tests/bison_h/stdio--.h [new file with mode: 0644]
tests/bison_h/stdio-impl.h [new file with mode: 0644]
tests/bison_h/stdio-safer.h [new file with mode: 0644]
tests/bison_h/stdio.h [new file with mode: 0644]
tests/bison_h/stdio.in.h [new file with mode: 0644]
tests/bison_h/stdlib.h [new file with mode: 0644]
tests/bison_h/stdlib.in.h [new file with mode: 0644]
tests/bison_h/streq.h [new file with mode: 0644]
tests/bison_h/strerror-override.h [new file with mode: 0644]
tests/bison_h/string.h [new file with mode: 0644]
tests/bison_h/string.in.h [new file with mode: 0644]
tests/bison_h/sys_stat.in.h [new file with mode: 0644]
tests/bison_h/sys_types.in.h [new file with mode: 0644]
tests/bison_h/sys_wait.in.h [new file with mode: 0644]
tests/bison_h/time.h [new file with mode: 0644]
tests/bison_h/time.in.h [new file with mode: 0644]
tests/bison_h/timevar.h [new file with mode: 0644]
tests/bison_h/unistd--.h [new file with mode: 0644]
tests/bison_h/unistd-safer.h [new file with mode: 0644]
tests/bison_h/unistd.h [new file with mode: 0644]
tests/bison_h/unistd.in.h [new file with mode: 0644]
tests/bison_h/unitypes.h [new file with mode: 0644]
tests/bison_h/unitypes.in.h [new file with mode: 0644]
tests/bison_h/uniwidth.h [new file with mode: 0644]
tests/bison_h/uniwidth.in.h [new file with mode: 0644]
tests/bison_h/unlocked-io.h [new file with mode: 0644]
tests/bison_h/vasnprintf.h [new file with mode: 0644]
tests/bison_h/vbitset.h [new file with mode: 0644]
tests/bison_h/verify.h [new file with mode: 0644]
tests/bison_h/w32spawn.h [new file with mode: 0644]
tests/bison_h/wait-process.h [new file with mode: 0644]
tests/bison_h/warn-on-use.h [new file with mode: 0644]
tests/bison_h/wchar.h [new file with mode: 0644]
tests/bison_h/wchar.in.h [new file with mode: 0644]
tests/bison_h/wctype.h [new file with mode: 0644]
tests/bison_h/wctype.in.h [new file with mode: 0644]
tests/bison_h/xalloc-oversized.h [new file with mode: 0644]
tests/bison_h/xalloc.h [new file with mode: 0644]
tests/bison_h/xmemdup0.h [new file with mode: 0644]
tests/bison_h/xsize.h [new file with mode: 0644]
tests/bison_h/xstrndup.h [new file with mode: 0644]
tests/parse-gram.y
tests/scan-code.l
tests/scan-gram.l