diff options
Diffstat (limited to 'Build/source/texk/web2c/otps')
31 files changed, 0 insertions, 9298 deletions
diff --git a/Build/source/texk/web2c/otps/ChangeLog b/Build/source/texk/web2c/otps/ChangeLog deleted file mode 100644 index c501d6ff747..00000000000 --- a/Build/source/texk/web2c/otps/ChangeLog +++ /dev/null @@ -1,145 +0,0 @@ -2015-07-07 Peter Breitenlohner <peb@mppmu.mpg.de> - - * Makefile.am: Better dependencies for 'make check'. - -2015-03-28 Peter Breitenlohner <peb@mppmu.mpg.de> - - * Makefile.am: Unconditionally distribute manpages. - -2013-06-28 Peter Breitenlohner <peb@mppmu.mpg.de> - - * otp-lexer.l: First #include <w2c/config.h> via "routines.h". - -2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de> - - * Makefile.am: Avoid use of deprecated INCLUDES. - -2012-07-09 Peter Breitenlohner <peb@mppmu.mpg.de> - - * otp-parser.[ch]: Regenerate with bison 2.5.1. - -2012-06-20 Peter Breitenlohner <peb@mppmu.mpg.de> - - * otp-lexer.l: Added the never-interactive option to prevent - flex from creating a problematic prototype for isatty(). - -2011-05-24 Peter Breitenlohner <peb@mppmu.mpg.de> - - * mkofm: Replace `$*' by `"$@"'. - - * Makefile.am (SUBDIRS): Add win32 to build C programs from - Akira's W32TeX as WIN32 replacements for the shell scripts. - -2010-12-19 Peter Breitenlohner <peb@mppmu.mpg.de> - - * Makefile.am [WIN32]: Skip mkocp and mkofm shell scripts. - -2010-06-10 Peter Breitenlohner <peb@mppmu.mpg.de> - - Reorganize web2c headers. - * routines.h: #include <w2c/config.h> instead of <config.h>. - -2010-04-07 Peter Breitenlohner <peb@mppmu.mpg.de> - - * mkocp.man, mkofm.man, otp2ocp.man, outocp.man: - Uniform manpage formatting: bold for literals, italic for - variable items, roman for meta items. - -2009-10-24 Peter Breitenlohner <peb@mppmu.mpg.de> - - * mkocp.man, mkofm.man, otp2ocp.man, outocp.man: New files - moved from ../../tetex/ to here. - * Makefile.am (dist_man1_MANS): Adjusted. - -2009-08-21 Peter Breitenlohner <peb@mppmu.mpg.de> - - Avoid maximal compiler warnings. - * otp-lexer.l: Replace global vars i, j, and last by locals. - * otp-parser.y (yyerror): Constify string param. - * outocp.c (otp_names): Constify strings. - * routines.[ch] (store_state): Constify string param. - -2009-08-19 Peter Breitenlohner <peb@mppmu.mpg.de> - - * Makefile.am: otp2ocp and outocp must depend explicitly on - KPATHSEA_DEPEND, the implicit dependency via proglib is not enough. - -2009-06-26 Peter Breitenlohner <peb@mppmu.mpg.de> - - * otp2ocp.test, outocp.test, uni2lat.ocp, uni2lat.otp, - uni2lat.out (all new): Shell scripts and data for test cases. - * Makefile.am: add test cases. - -2009-06-25 Peter Breitenlohner <peb@mppmu.mpg.de> - - * otp2ocp.c, outocp.c, routines.c: - removed #include <kpathsea/c-proto.h>. - -2009-06-17 Peter Breitenlohner <peb@mppmu.mpg.de> - - * Makefile.am (AM_CFLAGS): enable compiler warnings. - * Use ANSI C prototypes for functions. - * otp-parser.y (yyerror): declare as static. - * otp2ocp.c (output, otp_read): declare as static. - * outocp.c (ctp_get, ctp_read, ctp_explain): declare as static. - -2009-06-16 Peter Breitenlohner <peb@mppmu.mpg.de> - - * Makefile.am: otp2ocp.c provides yywrap, no need for $(LEXLIB). - -2008-01-29 Peter Breitenlohner <peb@mppmu.mpg.de> - - * Makefile.in: Add @configure_input@ line. - -2006-05-25 Roozbeh Pournader <roozbeh@farsiweb.info> - - - * routines.c: fixed a bogus error message, made sure PLUSLEFT's - argument and the first argument of COMPLETELEFT are non-zero, - added comments, optimized DOUBLELEFT a little. - - * routines.h: added comments. increased ARRAY_SIZE. - - * bugs.txt: added. - - * otp.h, otp.l, routines.c, routines.h, outocp.c: Made a few things #defined - constants. - - * otp.l, otp.y: fixed the copyright comment to not appear on the - generated file. - - * otp.y: added syntax for exact number of occurences in - "OneCompleteLeft" and also for changing to the initial state - without using the special "INITIAL" name. - - * otp2ocp.c: removed support for suffixes other than ".otp", since - kpathsea won't find them anyway, small fixes in error messages. - - * otp2ocp.c, outocp.c, routines.c: made better use of kpathsea - features. - - * lex.yy.c-dist, y_tab.c-dist, y_tab.h-dist: regenerated. - - * ChangeLog: updated own email address. - -2002-11-18 Roozbeh Pournader <roozbeh@farsiweb.info> - - * otp2ocp.c: fixed a bug in detecting the '.otp' suffix (patch by - Behdad Esfahbod). - * ChangeLog: some cleanup; - -2002-10-23 Roozbeh Pournader <roozbeh@farsiweb.info> - - * otp2ocp.c: added two copyright lines. - * otp.l: fixed a buffer overflow bug, now accepts all end of line - formats, fixed error reports on numbers greater than 65535 (patch - by Behdad Esfahbod). - * otp.h: changed '#define's to 'enum' (patch by Behdad Esfahbod). - * lex.yy.c-dist: rebuilt. - -2002-10-15 Roozbeh Pournader <roozbeh@farsiweb.info> - - * otp2ocp.c: fixed some '.ocp' writing bugs; otp2ocp now fails with - a non-zero return value if parsing the input fails (patch by - Behdad Esfahbod <omega@behdad.org>). - * otp2ocp.c, outocp.c: 'indent'-ed. diff --git a/Build/source/texk/web2c/otps/Makefile.am b/Build/source/texk/web2c/otps/Makefile.am deleted file mode 100644 index 9611bcabd89..00000000000 --- a/Build/source/texk/web2c/otps/Makefile.am +++ /dev/null @@ -1,75 +0,0 @@ -## Makefile.am for the TeX Live subdirectory texk/web2c/otps/ -## -## Copyright (C) 2009-2015 Peter Breitenlohner <tex-live@tug.org> -## You may freely use, modify and/or distribute this file. -## -AM_CPPFLAGS = -I$(top_builddir)/.. -I$(top_srcdir) $(KPATHSEA_INCLUDES) -AM_CFLAGS = $(WARNING_CFLAGS) -AM_YFLAGS = -d -v - -proglib = ../lib/lib.a - -# Rebuild $(proglib) -$(proglib): ${top_srcdir}/lib/*.c - cd ../lib && $(MAKE) $(AM_MAKEFLAGS) - -## Rebuild libkpathsea -@KPATHSEA_RULE@ - -otps_programs = otp2ocp outocp -otps_scripts = mkocp mkofm - -noinst_HEADERS = otp.h routines.h yystype.h - -if OTANGLE -bin_PROGRAMS = $(otps_programs) -if WIN32 -SUBDIRS = win32 -else !WIN32 -bin_SCRIPTS = $(otps_scripts) -endif !WIN32 -man1_MANS = $(otps_mans) -endif OTANGLE -EXTRA_PROGRAMS = $(otps_programs) -otps_mans = $(otps_programs:=.man) $(otps_scripts:=.man) - -EXTRA_DIST = $(otps_scripts) $(otps_mans) - -otp2ocp_SOURCES = \ - otp-parser.y \ - otp-lexer.l \ - otp2ocp.c \ - routines.c - -DISTCLEANFILES = otp-parser.output - -outocp_SOURCES = \ - outocp.c - -LDADD = $(proglib) $(KPATHSEA_LIBS) -otp2ocp_DEPENDENCIES = $(proglib) $(KPATHSEA_DEPEND) -outocp_DEPENDENCIES = $(proglib) $(KPATHSEA_DEPEND) - -## Tests -## -if OTANGLE -TESTS = otp2ocp.test outocp.test -endif OTANGLE -otp2ocp.log: otp2ocp$(EXEEXT) -outocp.log: outocp$(EXEEXT) - -EXTRA_DIST += \ - otp2ocp.test \ - outocp.test \ - uni2lat.ocp \ - uni2lat.otp \ - uni2lat.out - -## Files generated by TESTS -## -CLEANFILES = xuni2lat.ocp xuni2lat.out - -## Not used -## -EXTRA_DIST += bugs.txt - diff --git a/Build/source/texk/web2c/otps/Makefile.in b/Build/source/texk/web2c/otps/Makefile.in deleted file mode 100644 index f43d4ed6d3f..00000000000 --- a/Build/source/texk/web2c/otps/Makefile.in +++ /dev/null @@ -1,1453 +0,0 @@ -# Makefile.in generated by automake 1.16.3 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994-2020 Free Software Foundation, Inc. - -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - - - -VPATH = @srcdir@ -am__is_gnu_make = { \ - if test -z '$(MAKELEVEL)'; then \ - false; \ - elif test -n '$(MAKE_HOST)'; then \ - true; \ - elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ - true; \ - else \ - false; \ - fi; \ -} -am__make_running_with_option = \ - case $${target_option-} in \ - ?) ;; \ - *) echo "am__make_running_with_option: internal error: invalid" \ - "target option '$${target_option-}' specified" >&2; \ - exit 1;; \ - esac; \ - has_opt=no; \ - sane_makeflags=$$MAKEFLAGS; \ - if $(am__is_gnu_make); then \ - sane_makeflags=$$MFLAGS; \ - else \ - case $$MAKEFLAGS in \ - *\\[\ \ ]*) \ - bs=\\; \ - sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ - | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ - esac; \ - fi; \ - skip_next=no; \ - strip_trailopt () \ - { \ - flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ - }; \ - for flg in $$sane_makeflags; do \ - test $$skip_next = yes && { skip_next=no; continue; }; \ - case $$flg in \ - *=*|--*) continue;; \ - -*I) strip_trailopt 'I'; skip_next=yes;; \ - -*I?*) strip_trailopt 'I';; \ - -*O) strip_trailopt 'O'; skip_next=yes;; \ - -*O?*) strip_trailopt 'O';; \ - -*l) strip_trailopt 'l'; skip_next=yes;; \ - -*l?*) strip_trailopt 'l';; \ - -[dEDm]) skip_next=yes;; \ - -[JT]) skip_next=yes;; \ - esac; \ - case $$flg in \ - *$$target_option*) has_opt=yes; break;; \ - esac; \ - done; \ - test $$has_opt = yes -am__make_dryrun = (target_option=n; $(am__make_running_with_option)) -am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -@OTANGLE_TRUE@bin_PROGRAMS = $(am__EXEEXT_1) -EXTRA_PROGRAMS = $(am__EXEEXT_1) -subdir = otps -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/web2c-disable.m4 \ - $(top_srcdir)/../../m4/ax_cxx_compile_stdcxx.m4 \ - $(top_srcdir)/../../m4/kpse-asm.m4 \ - $(top_srcdir)/../../m4/kpse-cairo-flags.m4 \ - $(top_srcdir)/../../m4/kpse-common.m4 \ - $(top_srcdir)/../../m4/kpse-cross.m4 \ - $(top_srcdir)/../../m4/kpse-cxx-hack.m4 \ - $(top_srcdir)/../../m4/kpse-fontconfig-flags.m4 \ - $(top_srcdir)/../../m4/kpse-freetype2-flags.m4 \ - $(top_srcdir)/../../m4/kpse-gmp-flags.m4 \ - $(top_srcdir)/../../m4/kpse-graphite2-flags.m4 \ - $(top_srcdir)/../../m4/kpse-harfbuzz-flags.m4 \ - $(top_srcdir)/../../m4/kpse-icu-flags.m4 \ - $(top_srcdir)/../../m4/kpse-kpathsea-flags.m4 \ - $(top_srcdir)/../../m4/kpse-lex.m4 \ - $(top_srcdir)/../../m4/kpse-lib-version.m4 \ - $(top_srcdir)/../../m4/kpse-libpng-flags.m4 \ - $(top_srcdir)/../../m4/kpse-lt-hack.m4 \ - $(top_srcdir)/../../m4/kpse-lua52-flags.m4 \ - $(top_srcdir)/../../m4/kpse-lua53-flags.m4 \ - $(top_srcdir)/../../m4/kpse-luajit-flags.m4 \ - $(top_srcdir)/../../m4/kpse-macos-framework.m4 \ - $(top_srcdir)/../../m4/kpse-mpfr-flags.m4 \ - $(top_srcdir)/../../m4/kpse-pixman-flags.m4 \ - $(top_srcdir)/../../m4/kpse-pplib-flags.m4 \ - $(top_srcdir)/../../m4/kpse-ptexenc-flags.m4 \ - $(top_srcdir)/../../m4/kpse-socket-libs.m4 \ - $(top_srcdir)/../../m4/kpse-teckit-flags.m4 \ - $(top_srcdir)/../../m4/kpse-warnings.m4 \ - $(top_srcdir)/../../m4/kpse-web2c.m4 \ - $(top_srcdir)/../../m4/kpse-win32.m4 \ - $(top_srcdir)/../../m4/kpse-xpdf-flags.m4 \ - $(top_srcdir)/../../m4/kpse-zlib-flags.m4 \ - $(top_srcdir)/../../m4/kpse-zziplib-flags.m4 \ - $(top_srcdir)/../../m4/libtool.m4 \ - $(top_srcdir)/../../m4/ltoptions.m4 \ - $(top_srcdir)/../../m4/ltsugar.m4 \ - $(top_srcdir)/../../m4/ltversion.m4 \ - $(top_srcdir)/../../m4/lt~obsolete.m4 \ - $(top_srcdir)/../../version.ac $(top_srcdir)/ac/web2c.ac \ - $(top_srcdir)/synctexdir/ac/synctex.ac \ - $(top_srcdir)/synctexdir/synctex_parser_api_level.txt \ - $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \ - $(am__DIST_COMMON) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/w2c/c-auto.h \ - $(top_builddir)/ff-config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -am__EXEEXT_1 = otp2ocp$(EXEEXT) outocp$(EXEEXT) -am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" \ - "$(DESTDIR)$(man1dir)" -PROGRAMS = $(bin_PROGRAMS) -am_otp2ocp_OBJECTS = otp-parser.$(OBJEXT) otp-lexer.$(OBJEXT) \ - otp2ocp.$(OBJEXT) routines.$(OBJEXT) -otp2ocp_OBJECTS = $(am_otp2ocp_OBJECTS) -otp2ocp_LDADD = $(LDADD) -am__DEPENDENCIES_1 = -AM_V_lt = $(am__v_lt_@AM_V@) -am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) -am__v_lt_0 = --silent -am__v_lt_1 = -am_outocp_OBJECTS = outocp.$(OBJEXT) -outocp_OBJECTS = $(am_outocp_OBJECTS) -outocp_LDADD = $(LDADD) -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__uninstall_files_from_dir = { \ - test -z "$$files" \ - || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ - || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ - $(am__cd) "$$dir" && rm -f $$files; }; \ - } -SCRIPTS = $(bin_SCRIPTS) -AM_V_P = $(am__v_P_@AM_V@) -am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) -am__v_P_0 = false -am__v_P_1 = : -AM_V_GEN = $(am__v_GEN_@AM_V@) -am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) -am__v_GEN_0 = @echo " GEN " $@; -am__v_GEN_1 = -AM_V_at = $(am__v_at_@AM_V@) -am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) -am__v_at_0 = @ -am__v_at_1 = -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/w2c -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/../../build-aux/depcomp -am__maybe_remake_depfiles = depfiles -am__depfiles_remade = ./$(DEPDIR)/otp-lexer.Po \ - ./$(DEPDIR)/otp-parser.Po ./$(DEPDIR)/otp2ocp.Po \ - ./$(DEPDIR)/outocp.Po ./$(DEPDIR)/routines.Po -am__mv = mv -f -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CFLAGS) $(CFLAGS) -AM_V_CC = $(am__v_CC_@AM_V@) -am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) -am__v_CC_0 = @echo " CC " $@; -am__v_CC_1 = -CCLD = $(CC) -LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -AM_V_CCLD = $(am__v_CCLD_@AM_V@) -am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) -am__v_CCLD_0 = @echo " CCLD " $@; -am__v_CCLD_1 = -@MAINTAINER_MODE_FALSE@am__skiplex = test -f $@ || -LEXCOMPILE = $(LEX) $(AM_LFLAGS) $(LFLAGS) -LTLEXCOMPILE = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=compile $(LEX) $(AM_LFLAGS) $(LFLAGS) -AM_V_LEX = $(am__v_LEX_@AM_V@) -am__v_LEX_ = $(am__v_LEX_@AM_DEFAULT_V@) -am__v_LEX_0 = @echo " LEX " $@; -am__v_LEX_1 = -YLWRAP = $(top_srcdir)/../../build-aux/ylwrap -@MAINTAINER_MODE_FALSE@am__skipyacc = test -f $@ || -am__yacc_c2h = sed -e s/cc$$/hh/ -e s/cpp$$/hpp/ -e s/cxx$$/hxx/ \ - -e s/c++$$/h++/ -e s/c$$/h/ -YACCCOMPILE = $(YACC) $(AM_YFLAGS) $(YFLAGS) -LTYACCCOMPILE = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=compile $(YACC) $(AM_YFLAGS) $(YFLAGS) -AM_V_YACC = $(am__v_YACC_@AM_V@) -am__v_YACC_ = $(am__v_YACC_@AM_DEFAULT_V@) -am__v_YACC_0 = @echo " YACC " $@; -am__v_YACC_1 = -SOURCES = $(otp2ocp_SOURCES) $(outocp_SOURCES) -DIST_SOURCES = $(otp2ocp_SOURCES) $(outocp_SOURCES) -RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ - ctags-recursive dvi-recursive html-recursive info-recursive \ - install-data-recursive install-dvi-recursive \ - install-exec-recursive install-html-recursive \ - install-info-recursive install-pdf-recursive \ - install-ps-recursive install-recursive installcheck-recursive \ - installdirs-recursive pdf-recursive ps-recursive \ - tags-recursive uninstall-recursive -am__can_run_installinfo = \ - case $$AM_UPDATE_INFO_DIR in \ - n|no|NO) false;; \ - *) (install-info --version) >/dev/null 2>&1;; \ - esac -man1dir = $(mandir)/man1 -NROFF = nroff -MANS = $(man1_MANS) -HEADERS = $(noinst_HEADERS) -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ - distclean-recursive maintainer-clean-recursive -am__recursive_targets = \ - $(RECURSIVE_TARGETS) \ - $(RECURSIVE_CLEAN_TARGETS) \ - $(am__extra_recursive_targets) -AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ - check recheck distdir distdir-am -am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) -# Read a list of newline-separated strings from the standard input, -# and print each of them once, without duplicates. Input order is -# *not* preserved. -am__uniquify_input = $(AWK) '\ - BEGIN { nonempty = 0; } \ - { items[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in items) print i; }; } \ -' -# Make sure the list of sources is unique. This is necessary because, -# e.g., the same source file might be shared among _SOURCES variables -# for different programs/libraries. -am__define_uniq_tagged_files = \ - list='$(am__tagged_files)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags -am__tty_colors_dummy = \ - mgn= red= grn= lgn= blu= brg= std=; \ - am__color_tests=no -am__tty_colors = { \ - $(am__tty_colors_dummy); \ - if test "X$(AM_COLOR_TESTS)" = Xno; then \ - am__color_tests=no; \ - elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ - am__color_tests=yes; \ - elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ - am__color_tests=yes; \ - fi; \ - if test $$am__color_tests = yes; then \ - red='[0;31m'; \ - grn='[0;32m'; \ - lgn='[1;32m'; \ - blu='[1;34m'; \ - mgn='[0;35m'; \ - brg='[1m'; \ - std='[m'; \ - fi; \ -} -am__recheck_rx = ^[ ]*:recheck:[ ]* -am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* -am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* -# A command that, given a newline-separated list of test names on the -# standard input, print the name of the tests that are to be re-run -# upon "make recheck". -am__list_recheck_tests = $(AWK) '{ \ - recheck = 1; \ - while ((rc = (getline line < ($$0 ".trs"))) != 0) \ - { \ - if (rc < 0) \ - { \ - if ((getline line2 < ($$0 ".log")) < 0) \ - recheck = 0; \ - break; \ - } \ - else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ - { \ - recheck = 0; \ - break; \ - } \ - else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ - { \ - break; \ - } \ - }; \ - if (recheck) \ - print $$0; \ - close ($$0 ".trs"); \ - close ($$0 ".log"); \ -}' -# A command that, given a newline-separated list of test names on the -# standard input, create the global log from their .trs and .log files. -am__create_global_log = $(AWK) ' \ -function fatal(msg) \ -{ \ - print "fatal: making $@: " msg | "cat >&2"; \ - exit 1; \ -} \ -function rst_section(header) \ -{ \ - print header; \ - len = length(header); \ - for (i = 1; i <= len; i = i + 1) \ - printf "="; \ - printf "\n\n"; \ -} \ -{ \ - copy_in_global_log = 1; \ - global_test_result = "RUN"; \ - while ((rc = (getline line < ($$0 ".trs"))) != 0) \ - { \ - if (rc < 0) \ - fatal("failed to read from " $$0 ".trs"); \ - if (line ~ /$(am__global_test_result_rx)/) \ - { \ - sub("$(am__global_test_result_rx)", "", line); \ - sub("[ ]*$$", "", line); \ - global_test_result = line; \ - } \ - else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ - copy_in_global_log = 0; \ - }; \ - if (copy_in_global_log) \ - { \ - rst_section(global_test_result ": " $$0); \ - while ((rc = (getline line < ($$0 ".log"))) != 0) \ - { \ - if (rc < 0) \ - fatal("failed to read from " $$0 ".log"); \ - print line; \ - }; \ - printf "\n"; \ - }; \ - close ($$0 ".trs"); \ - close ($$0 ".log"); \ -}' -# Restructured Text title. -am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } -# Solaris 10 'make', and several other traditional 'make' implementations, -# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it -# by disabling -e (using the XSI extension "set +e") if it's set. -am__sh_e_setup = case $$- in *e*) set +e;; esac -# Default flags passed to test drivers. -am__common_driver_flags = \ - --color-tests "$$am__color_tests" \ - --enable-hard-errors "$$am__enable_hard_errors" \ - --expect-failure "$$am__expect_failure" -# To be inserted before the command running the test. Creates the -# directory for the log if needed. Stores in $dir the directory -# containing $f, in $tst the test, in $log the log. Executes the -# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and -# passes TESTS_ENVIRONMENT. Set up options for the wrapper that -# will run the test scripts (or their associated LOG_COMPILER, if -# thy have one). -am__check_pre = \ -$(am__sh_e_setup); \ -$(am__vpath_adj_setup) $(am__vpath_adj) \ -$(am__tty_colors); \ -srcdir=$(srcdir); export srcdir; \ -case "$@" in \ - */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ - *) am__odir=.;; \ -esac; \ -test "x$$am__odir" = x"." || test -d "$$am__odir" \ - || $(MKDIR_P) "$$am__odir" || exit $$?; \ -if test -f "./$$f"; then dir=./; \ -elif test -f "$$f"; then dir=; \ -else dir="$(srcdir)/"; fi; \ -tst=$$dir$$f; log='$@'; \ -if test -n '$(DISABLE_HARD_ERRORS)'; then \ - am__enable_hard_errors=no; \ -else \ - am__enable_hard_errors=yes; \ -fi; \ -case " $(XFAIL_TESTS) " in \ - *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ - am__expect_failure=yes;; \ - *) \ - am__expect_failure=no;; \ -esac; \ -$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) -# A shell command to get the names of the tests scripts with any registered -# extension removed (i.e., equivalently, the names of the test logs, with -# the '.log' extension removed). The result is saved in the shell variable -# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, -# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", -# since that might cause problem with VPATH rewrites for suffix-less tests. -# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. -am__set_TESTS_bases = \ - bases='$(TEST_LOGS)'; \ - bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ - bases=`echo $$bases` -AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)' -RECHECK_LOGS = $(TEST_LOGS) -TEST_SUITE_LOG = test-suite.log -TEST_EXTENSIONS = @EXEEXT@ .test -am__test_logs1 = $(TESTS:=.log) -am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) -TEST_LOGS = $(am__test_logs2:.test.log=.log) -TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/../../build-aux/test-driver -TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ - $(TEST_LOG_FLAGS) -am__set_b = \ - case '$@' in \ - */*) \ - case '$*' in \ - */*) b='$*';; \ - *) b=`echo '$@' | sed 's/\.log$$//'`; \ - esac;; \ - *) \ - b='$*';; \ - esac -DIST_SUBDIRS = win32 -am__DIST_COMMON = $(srcdir)/Makefile.in \ - $(top_srcdir)/../../build-aux/depcomp \ - $(top_srcdir)/../../build-aux/test-driver \ - $(top_srcdir)/../../build-aux/ylwrap ChangeLog otp-lexer.c \ - otp-parser.c otp-parser.h -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -am__relativize = \ - dir0=`pwd`; \ - sed_first='s,^\([^/]*\)/.*$$,\1,'; \ - sed_rest='s,^[^/]*/*,,'; \ - sed_last='s,^.*/\([^/]*\)$$,\1,'; \ - sed_butlast='s,/*[^/]*$$,,'; \ - while test -n "$$dir1"; do \ - first=`echo "$$dir1" | sed -e "$$sed_first"`; \ - if test "$$first" != "."; then \ - if test "$$first" = ".."; then \ - dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ - dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ - else \ - first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ - if test "$$first2" = "$$first"; then \ - dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ - else \ - dir2="../$$dir2"; \ - fi; \ - dir0="$$dir0"/"$$first"; \ - fi; \ - fi; \ - dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ - done; \ - reldir="$$dir2" -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CAIRO_DEPEND = @CAIRO_DEPEND@ -CAIRO_INCLUDES = @CAIRO_INCLUDES@ -CAIRO_LIBS = @CAIRO_LIBS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CTANGLE = @CTANGLE@ -CTANGLEBOOT = @CTANGLEBOOT@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CXXLD = @CXXLD@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -FONTCONFIG_INCLUDES = @FONTCONFIG_INCLUDES@ -FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ -FREETYPE2_DEPEND = @FREETYPE2_DEPEND@ -FREETYPE2_INCLUDES = @FREETYPE2_INCLUDES@ -FREETYPE2_LIBS = @FREETYPE2_LIBS@ -FT2_CONFIG = @FT2_CONFIG@ -GMP_DEPEND = @GMP_DEPEND@ -GMP_INCLUDES = @GMP_INCLUDES@ -GMP_LIBS = @GMP_LIBS@ -GRAPHITE2_DEPEND = @GRAPHITE2_DEPEND@ -GRAPHITE2_INCLUDES = @GRAPHITE2_INCLUDES@ -GRAPHITE2_LIBS = @GRAPHITE2_LIBS@ -GREP = @GREP@ -HARFBUZZ_DEPEND = @HARFBUZZ_DEPEND@ -HARFBUZZ_INCLUDES = @HARFBUZZ_INCLUDES@ -HARFBUZZ_LIBS = @HARFBUZZ_LIBS@ -HAVE_CXX11 = @HAVE_CXX11@ -ICU_CONFIG = @ICU_CONFIG@ -ICU_DEPEND = @ICU_DEPEND@ -ICU_INCLUDES = @ICU_INCLUDES@ -ICU_LIBS = @ICU_LIBS@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -KPATHSEA_DEPEND = @KPATHSEA_DEPEND@ -KPATHSEA_INCLUDES = @KPATHSEA_INCLUDES@ -KPATHSEA_LIBS = @KPATHSEA_LIBS@ -KPATHSEA_PATHS_H = @KPATHSEA_PATHS_H@ -KPSEWHICH = @KPSEWHICH@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LEX = @LEX@ -LEXLIB = @LEXLIB@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ -LIBOBJS = @LIBOBJS@ -LIBPNG_DEPEND = @LIBPNG_DEPEND@ -LIBPNG_INCLUDES = @LIBPNG_INCLUDES@ -LIBPNG_LIBS = @LIBPNG_LIBS@ -LIBS = @LIBS@ -LIBSYNCTEX = @LIBSYNCTEX@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -LTLIBSYNCTEX = @LTLIBSYNCTEX@ -LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ -LUA52_DEFINES = @LUA52_DEFINES@ -LUA52_DEPEND = @LUA52_DEPEND@ -LUA52_INCLUDES = @LUA52_INCLUDES@ -LUA52_LIBS = @LUA52_LIBS@ -LUA53_DEFINES = @LUA53_DEFINES@ -LUA53_DEPEND = @LUA53_DEPEND@ -LUA53_INCLUDES = @LUA53_INCLUDES@ -LUA53_LIBS = @LUA53_LIBS@ -LUAJIT_DEFINES = @LUAJIT_DEFINES@ -LUAJIT_DEPEND = @LUAJIT_DEPEND@ -LUAJIT_INCLUDES = @LUAJIT_INCLUDES@ -LUAJIT_LDEXTRA = @LUAJIT_LDEXTRA@ -LUAJIT_LIBS = @LUAJIT_LIBS@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MANIFEST_TOOL = @MANIFEST_TOOL@ -MKDIR_P = @MKDIR_P@ -MPFR_DEPEND = @MPFR_DEPEND@ -MPFR_INCLUDES = @MPFR_INCLUDES@ -MPFR_LIBS = @MPFR_LIBS@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJCXX = @OBJCXX@ -OBJCXXDEPMODE = @OBJCXXDEPMODE@ -OBJCXXFLAGS = @OBJCXXFLAGS@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTANGLE = @OTANGLE@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PIXMAN_DEPEND = @PIXMAN_DEPEND@ -PIXMAN_INCLUDES = @PIXMAN_INCLUDES@ -PIXMAN_LIBS = @PIXMAN_LIBS@ -PKG_CONFIG = @PKG_CONFIG@ -PPLIB_DEPEND = @PPLIB_DEPEND@ -PPLIB_INCLUDES = @PPLIB_INCLUDES@ -PPLIB_LIBS = @PPLIB_LIBS@ -PTEXENC_DEPEND = @PTEXENC_DEPEND@ -PTEXENC_INCLUDES = @PTEXENC_INCLUDES@ -PTEXENC_LIBS = @PTEXENC_LIBS@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -SYNCTEXVERSION = @SYNCTEXVERSION@ -SYNCTEX_LT_VERSINFO = @SYNCTEX_LT_VERSINFO@ -TANGLE = @TANGLE@ -TANGLEBOOT = @TANGLEBOOT@ -TECKIT_DEPEND = @TECKIT_DEPEND@ -TECKIT_INCLUDES = @TECKIT_INCLUDES@ -TECKIT_LIBS = @TECKIT_LIBS@ -TIE = @TIE@ -VERSION = @VERSION@ -WARNING_CFLAGS = @WARNING_CFLAGS@ -WARNING_CXXFLAGS = @WARNING_CXXFLAGS@ -WARNING_OBJCXXFLAGS = @WARNING_OBJCXXFLAGS@ -WEB2CVERSION = @WEB2CVERSION@ -XMKMF = @XMKMF@ -XPDF_DEPEND = @XPDF_DEPEND@ -XPDF_INCLUDES = @XPDF_INCLUDES@ -XPDF_LIBS = @XPDF_LIBS@ -X_CFLAGS = @X_CFLAGS@ -X_EXTRA_LIBS = @X_EXTRA_LIBS@ -X_LIBS = @X_LIBS@ -X_PRE_LIBS = @X_PRE_LIBS@ -YACC = @YACC@ -YFLAGS = @YFLAGS@ -ZLIB_DEPEND = @ZLIB_DEPEND@ -ZLIB_INCLUDES = @ZLIB_INCLUDES@ -ZLIB_LIBS = @ZLIB_LIBS@ -ZZIPLIB_DEPEND = @ZZIPLIB_DEPEND@ -ZZIPLIB_INCLUDES = @ZZIPLIB_INCLUDES@ -ZZIPLIB_LIBS = @ZZIPLIB_LIBS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_AR = @ac_ct_AR@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -ac_ct_OBJCXX = @ac_ct_OBJCXX@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -ipc_socketlibs = @ipc_socketlibs@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -lua_socketlibs = @lua_socketlibs@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -subdirs = @subdirs@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -wlibs = @wlibs@ -x_ext_lib = @x_ext_lib@ -x_tool_libs = @x_tool_libs@ -AM_CPPFLAGS = -I$(top_builddir)/.. -I$(top_srcdir) $(KPATHSEA_INCLUDES) -AM_CFLAGS = $(WARNING_CFLAGS) -AM_YFLAGS = -d -v -proglib = ../lib/lib.a -otps_programs = otp2ocp outocp -otps_scripts = mkocp mkofm -noinst_HEADERS = otp.h routines.h yystype.h -@OTANGLE_TRUE@@WIN32_TRUE@SUBDIRS = win32 -@OTANGLE_TRUE@@WIN32_FALSE@bin_SCRIPTS = $(otps_scripts) -@OTANGLE_TRUE@man1_MANS = $(otps_mans) -otps_mans = $(otps_programs:=.man) $(otps_scripts:=.man) -EXTRA_DIST = $(otps_scripts) $(otps_mans) otp2ocp.test outocp.test \ - uni2lat.ocp uni2lat.otp uni2lat.out bugs.txt -otp2ocp_SOURCES = \ - otp-parser.y \ - otp-lexer.l \ - otp2ocp.c \ - routines.c - -DISTCLEANFILES = otp-parser.output -outocp_SOURCES = \ - outocp.c - -LDADD = $(proglib) $(KPATHSEA_LIBS) -otp2ocp_DEPENDENCIES = $(proglib) $(KPATHSEA_DEPEND) -outocp_DEPENDENCIES = $(proglib) $(KPATHSEA_DEPEND) -@OTANGLE_TRUE@TESTS = otp2ocp.test outocp.test -CLEANFILES = xuni2lat.ocp xuni2lat.out -all: all-recursive - -.SUFFIXES: -.SUFFIXES: .c .l .lo .log .o .obj .test .test$(EXEEXT) .trs .y -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign otps/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign otps/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ - fi; \ - for p in $$list; do echo "$$p $$p"; done | \ - sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p \ - || test -f $$p1 \ - ; then echo "$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n;h' \ - -e 's|.*|.|' \ - -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ - sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) files[d] = files[d] " " $$1; \ - else { print "f", $$3 "/" $$4, $$1; } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' \ - `; \ - test -n "$$list" || exit 0; \ - echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(bindir)" && rm -f $$files - -clean-binPROGRAMS: - @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list -otp-parser.h: otp-parser.c - @if test ! -f $@; then rm -f otp-parser.c; else :; fi - @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) otp-parser.c; else :; fi - -otp2ocp$(EXEEXT): $(otp2ocp_OBJECTS) $(otp2ocp_DEPENDENCIES) $(EXTRA_otp2ocp_DEPENDENCIES) - @rm -f otp2ocp$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(otp2ocp_OBJECTS) $(otp2ocp_LDADD) $(LIBS) - -outocp$(EXEEXT): $(outocp_OBJECTS) $(outocp_DEPENDENCIES) $(EXTRA_outocp_DEPENDENCIES) - @rm -f outocp$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(outocp_OBJECTS) $(outocp_LDADD) $(LIBS) -install-binSCRIPTS: $(bin_SCRIPTS) - @$(NORMAL_INSTALL) - @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n' \ - -e 'h;s|.*|.|' \ - -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) { files[d] = files[d] " " $$1; \ - if (++n[d] == $(am__install_max)) { \ - print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ - else { print "f", d "/" $$4, $$1 } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ - $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-binSCRIPTS: - @$(NORMAL_UNINSTALL) - @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 's,.*/,,;$(transform)'`; \ - dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/otp-lexer.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/otp-parser.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/otp2ocp.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/outocp.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/routines.Po@am__quote@ # am--include-marker - -$(am__depfiles_remade): - @$(MKDIR_P) $(@D) - @echo '# dummy' >$@-t && $(am__mv) $@-t $@ - -am--depfiles: $(am__depfiles_remade) - -.c.o: -@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ -@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< - -.c.obj: -@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ -@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.c.lo: -@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ -@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< - -.l.c: - $(AM_V_LEX)$(am__skiplex) $(SHELL) $(YLWRAP) $< $(LEX_OUTPUT_ROOT).c $@ -- $(LEXCOMPILE) - -.y.c: - $(AM_V_YACC)$(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h `echo $@ | $(am__yacc_c2h)` y.output $*.output -- $(YACCCOMPILE) - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-man1: $(man1_MANS) - @$(NORMAL_INSTALL) - @list1='$(man1_MANS)'; \ - list2=''; \ - test -n "$(man1dir)" \ - && test -n "`echo $$list1$$list2`" \ - || exit 0; \ - echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ - { for i in $$list1; do echo "$$i"; done; \ - if test -n "$$list2"; then \ - for i in $$list2; do echo "$$i"; done \ - | sed -n '/\.1[a-z]*$$/p'; \ - fi; \ - } | while read p; do \ - if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; echo "$$p"; \ - done | \ - sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ - -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ - sed 'N;N;s,\n, ,g' | { \ - list=; while read file base inst; do \ - if test "$$base" = "$$inst"; then list="$$list $$file"; else \ - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ - fi; \ - done; \ - for i in $$list; do echo "$$i"; done | $(am__base_list) | \ - while read files; do \ - test -z "$$files" || { \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ - done; } - -uninstall-man1: - @$(NORMAL_UNINSTALL) - @list='$(man1_MANS)'; test -n "$(man1dir)" || exit 0; \ - files=`{ for i in $$list; do echo "$$i"; done; \ - } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ - -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ - dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) - -# This directory's subdirectories are mostly independent; you can cd -# into them and run 'make' without going through this Makefile. -# To change the values of 'make' variables: instead of editing Makefiles, -# (1) if the variable is set in 'config.status', edit 'config.status' -# (which will cause the Makefiles to be regenerated when you run 'make'); -# (2) otherwise, pass the desired values on the 'make' command line. -$(am__recursive_targets): - @fail=; \ - if $(am__make_keepgoing); then \ - failcom='fail=yes'; \ - else \ - failcom='exit 1'; \ - fi; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -ID: $(am__tagged_files) - $(am__define_uniq_tagged_files); mkid -fID $$unique -tags: tags-recursive -TAGS: tags - -tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) - set x; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - $(am__define_uniq_tagged_files); \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: ctags-recursive - -CTAGS: ctags -ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) - $(am__define_uniq_tagged_files); \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" -cscopelist: cscopelist-recursive - -cscopelist-am: $(am__tagged_files) - list='$(am__tagged_files)'; \ - case "$(srcdir)" in \ - [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ - *) sdir=$(subdir)/$(srcdir) ;; \ - esac; \ - for i in $$list; do \ - if test -f "$$i"; then \ - echo "$(subdir)/$$i"; \ - else \ - echo "$$sdir/$$i"; \ - fi; \ - done >> $(top_builddir)/cscope.files - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -# Recover from deleted '.trs' file; this should ensure that -# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create -# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells -# to avoid problems with "make -n". -.log.trs: - rm -f $< $@ - $(MAKE) $(AM_MAKEFLAGS) $< - -# Leading 'am--fnord' is there to ensure the list of targets does not -# expand to empty, as could happen e.g. with make check TESTS=''. -am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) -am--force-recheck: - @: - -$(TEST_SUITE_LOG): $(TEST_LOGS) - @$(am__set_TESTS_bases); \ - am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ - redo_bases=`for i in $$bases; do \ - am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ - done`; \ - if test -n "$$redo_bases"; then \ - redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ - redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ - if $(am__make_dryrun); then :; else \ - rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ - fi; \ - fi; \ - if test -n "$$am__remaking_logs"; then \ - echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ - "recursion detected" >&2; \ - elif test -n "$$redo_logs"; then \ - am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ - fi; \ - if $(am__make_dryrun); then :; else \ - st=0; \ - errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ - for i in $$redo_bases; do \ - test -f $$i.trs && test -r $$i.trs \ - || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ - test -f $$i.log && test -r $$i.log \ - || { echo "$$errmsg $$i.log" >&2; st=1; }; \ - done; \ - test $$st -eq 0 || exit 1; \ - fi - @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ - ws='[ ]'; \ - results=`for b in $$bases; do echo $$b.trs; done`; \ - test -n "$$results" || results=/dev/null; \ - all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ - pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ - fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ - skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ - xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ - xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ - error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ - if test `expr $$fail + $$xpass + $$error` -eq 0; then \ - success=true; \ - else \ - success=false; \ - fi; \ - br='==================='; br=$$br$$br$$br$$br; \ - result_count () \ - { \ - if test x"$$1" = x"--maybe-color"; then \ - maybe_colorize=yes; \ - elif test x"$$1" = x"--no-color"; then \ - maybe_colorize=no; \ - else \ - echo "$@: invalid 'result_count' usage" >&2; exit 4; \ - fi; \ - shift; \ - desc=$$1 count=$$2; \ - if test $$maybe_colorize = yes && test $$count -gt 0; then \ - color_start=$$3 color_end=$$std; \ - else \ - color_start= color_end=; \ - fi; \ - echo "$${color_start}# $$desc $$count$${color_end}"; \ - }; \ - create_testsuite_report () \ - { \ - result_count $$1 "TOTAL:" $$all "$$brg"; \ - result_count $$1 "PASS: " $$pass "$$grn"; \ - result_count $$1 "SKIP: " $$skip "$$blu"; \ - result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ - result_count $$1 "FAIL: " $$fail "$$red"; \ - result_count $$1 "XPASS:" $$xpass "$$red"; \ - result_count $$1 "ERROR:" $$error "$$mgn"; \ - }; \ - { \ - echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ - $(am__rst_title); \ - create_testsuite_report --no-color; \ - echo; \ - echo ".. contents:: :depth: 2"; \ - echo; \ - for b in $$bases; do echo $$b; done \ - | $(am__create_global_log); \ - } >$(TEST_SUITE_LOG).tmp || exit 1; \ - mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ - if $$success; then \ - col="$$grn"; \ - else \ - col="$$red"; \ - test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ - fi; \ - echo "$${col}$$br$${std}"; \ - echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \ - echo "$${col}$$br$${std}"; \ - create_testsuite_report --maybe-color; \ - echo "$$col$$br$$std"; \ - if $$success; then :; else \ - echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \ - if test -n "$(PACKAGE_BUGREPORT)"; then \ - echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \ - fi; \ - echo "$$col$$br$$std"; \ - fi; \ - $$success || exit 1 - -check-TESTS: - @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list - @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list - @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) - @set +e; $(am__set_TESTS_bases); \ - log_list=`for i in $$bases; do echo $$i.log; done`; \ - trs_list=`for i in $$bases; do echo $$i.trs; done`; \ - log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ - $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ - exit $$?; -recheck: all - @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) - @set +e; $(am__set_TESTS_bases); \ - bases=`for i in $$bases; do echo $$i; done \ - | $(am__list_recheck_tests)` || exit 1; \ - log_list=`for i in $$bases; do echo $$i.log; done`; \ - log_list=`echo $$log_list`; \ - $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ - am__force_recheck=am--force-recheck \ - TEST_LOGS="$$log_list"; \ - exit $$? -.test.log: - @p='$<'; \ - $(am__set_b); \ - $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -@am__EXEEXT_TRUE@.test$(EXEEXT).log: -@am__EXEEXT_TRUE@ @p='$<'; \ -@am__EXEEXT_TRUE@ $(am__set_b); \ -@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ -@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ -@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ -@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) - -distdir: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) distdir-am - -distdir-am: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - $(am__make_dryrun) \ - || test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ - $(am__relativize); \ - new_distdir=$$reldir; \ - dir1=$$subdir; dir2="$(top_distdir)"; \ - $(am__relativize); \ - new_top_distdir=$$reldir; \ - echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ - echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ - ($(am__cd) $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$new_top_distdir" \ - distdir="$$new_distdir" \ - am__remove_distdir=: \ - am__skip_length_check=: \ - am__skip_mode_fix=: \ - distdir) \ - || exit 1; \ - fi; \ - done -check-am: all-am - $(MAKE) $(AM_MAKEFLAGS) check-TESTS -check: check-recursive -all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) $(HEADERS) -installdirs: installdirs-recursive -installdirs-am: - for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - if test -z '$(STRIP)'; then \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - install; \ - else \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ - fi -mostlyclean-generic: - -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) - -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) - -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." - -rm -f otp-lexer.c - -rm -f otp-parser.c - -rm -f otp-parser.h -clean: clean-recursive - -clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am - -distclean: distclean-recursive - -rm -f ./$(DEPDIR)/otp-lexer.Po - -rm -f ./$(DEPDIR)/otp-parser.Po - -rm -f ./$(DEPDIR)/otp2ocp.Po - -rm -f ./$(DEPDIR)/outocp.Po - -rm -f ./$(DEPDIR)/routines.Po - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -html-am: - -info: info-recursive - -info-am: - -install-data-am: install-man - -install-dvi: install-dvi-recursive - -install-dvi-am: - -install-exec-am: install-binPROGRAMS install-binSCRIPTS - -install-html: install-html-recursive - -install-html-am: - -install-info: install-info-recursive - -install-info-am: - -install-man: install-man1 - -install-pdf: install-pdf-recursive - -install-pdf-am: - -install-ps: install-ps-recursive - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -f ./$(DEPDIR)/otp-lexer.Po - -rm -f ./$(DEPDIR)/otp-parser.Po - -rm -f ./$(DEPDIR)/otp2ocp.Po - -rm -f ./$(DEPDIR)/outocp.Po - -rm -f ./$(DEPDIR)/routines.Po - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-man - -uninstall-man: uninstall-man1 - -.MAKE: $(am__recursive_targets) check-am install-am install-strip - -.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ - am--depfiles check check-TESTS check-am clean \ - clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \ - ctags ctags-am distclean distclean-compile distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-binPROGRAMS \ - install-binSCRIPTS install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am install-man \ - install-man1 install-pdf install-pdf-am install-ps \ - install-ps-am install-strip installcheck installcheck-am \ - installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - recheck tags tags-am uninstall uninstall-am \ - uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-man \ - uninstall-man1 - -.PRECIOUS: Makefile - - -# Rebuild $(proglib) -$(proglib): ${top_srcdir}/lib/*.c - cd ../lib && $(MAKE) $(AM_MAKEFLAGS) - -@KPATHSEA_RULE@ -otp2ocp.log: otp2ocp$(EXEEXT) -outocp.log: outocp$(EXEEXT) - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/Build/source/texk/web2c/otps/bugs.txt b/Build/source/texk/web2c/otps/bugs.txt deleted file mode 100644 index 0a878a5bc06..00000000000 --- a/Build/source/texk/web2c/otps/bugs.txt +++ /dev/null @@ -1,9 +0,0 @@ -[20050814-1] (otp2ocp) - Choices may include CompleteLefts, but only through aliases. - This should be tested. If it's working properly, choices should be - extended to allow them without aliases. If it's not working, - it should be fixed or removed. -[20050814-2] (otp2ocp) - Implement star (*) regexps, using <0,>. otp2ocp should fail when - it's the only thing on left side, since it would match the empty - string. diff --git a/Build/source/texk/web2c/otps/mkocp b/Build/source/texk/web2c/otps/mkocp deleted file mode 100755 index 41ffead8bf1..00000000000 --- a/Build/source/texk/web2c/otps/mkocp +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -# Initial definition. Will leave the .ocp file in the local directory. -( -otp2ocp `basename "$1" .ocp` || exit 1 -) 1>&2 </dev/null -echo `basename "$1" .ocp`.ocp diff --git a/Build/source/texk/web2c/otps/mkocp.man b/Build/source/texk/web2c/otps/mkocp.man deleted file mode 100644 index b25aad2c551..00000000000 --- a/Build/source/texk/web2c/otps/mkocp.man +++ /dev/null @@ -1,41 +0,0 @@ -.TH "mkocp" "1" "April 2017" "Omega" -.PP -.SH "NAME" -mkocp \- frontend to \fBotp2ocp\fP(1) -.SH "SYNOPSIS" -.B mkocp -.I OTPFILE -.SH "DESCRIPTION" -.PP -\fBmkocp\fP is used to create or recreate Omega Compiled Process files -(binary) from Omega Translation Process (text) files\&. -.PP -Omega Translation Processes are used to translate one character set to -another and to choose between characters with one or more -context-sensitive variants\&. OTPs could also be used to change the -case or hyphenation of text\&. -.PP -OTPs are defined in text files, and compiled into binary code (OCPs) -using \fBmkocp\fP (this script) or directly with \fBotp2ocp\fP(1)\&. -.PP -.SH "FILES" -.IP "\fIOTPFILE\fP" -An Omega Typesetting Process filter file\&. -.PP -.SH "SEE ALSO" -.PP -\fBomega\fP(1), \fBotp2ocp\fP(1)\&. -.PP -<https://ctan\&.org/pkg/omega> -.PP -.SH "AUTHOR" -.PP -\fBmkocp\fP is part of Omega\&. The primary authors of Omega are John Plaice -and Yannis Haralambous\&. -.PP -This manual page was written by C\&.M\&. Connelly -<cmc@debian\&.org>, for -the Debian GNU/Linux system\&. It may be used by other distributions -without contacting the author\&. Any mistakes or omissions in the -manual page are my fault; inquiries about or corrections to this -manual page should be directed to me (and not to the primary author)\&. diff --git a/Build/source/texk/web2c/otps/mkofm b/Build/source/texk/web2c/otps/mkofm deleted file mode 100755 index 306575cfbe7..00000000000 --- a/Build/source/texk/web2c/otps/mkofm +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -# Initial definition. For the moment only makes .tfm files. -mktextfm "$@" diff --git a/Build/source/texk/web2c/otps/mkofm.man b/Build/source/texk/web2c/otps/mkofm.man deleted file mode 100644 index 0acc9644cd0..00000000000 --- a/Build/source/texk/web2c/otps/mkofm.man +++ /dev/null @@ -1,31 +0,0 @@ -.TH "mkofm" "1" "April 2017" "TeX Live" -.PP -.SH "NAME" -mkofm \- front end to \fBmktextfm\fP(1) -.SH "SYNOPSIS" -.B mkofm -.I ARGS -.SH "DESCRIPTION" -.PP -\fBmkofm\fP takes all \fIARGS\fP and passes them to -\fBmktextfm\fP(1)\&. For more information about appropriate -arguments, see \fBmktextfm\fP(1)\&. -.PP -.SH "SEE ALSO" -.PP -\fBmktextfm\fP(1) -.PP -.SH "BUGS" -.PP -None known\&. -.PP -.SH "AUTHOR" -.PP -Author unknown\&. -.PP -This manual page was written by C\&.M\&. Connelly -<cmc@debian\&.org>, for -the Debian GNU/Linux system\&. It may be used by other distributions -without contacting the author\&. Any mistakes or omissions in the -manual page are my fault; inquiries about or corrections to this -manual page should be directed to me (and not to the primary author)\&. diff --git a/Build/source/texk/web2c/otps/otp-lexer.c b/Build/source/texk/web2c/otps/otp-lexer.c deleted file mode 100644 index 4f838a68a00..00000000000 --- a/Build/source/texk/web2c/otps/otp-lexer.c +++ /dev/null @@ -1,2092 +0,0 @@ -#line 29 "../../../../texk/web2c/otps/otp-lexer.l" -#include "routines.h" -#include "yystype.h" -#include "otp-parser.h" - - - -#line 9 "../../../../texk/web2c/otps/otp-lexer.c" - -#define YY_INT_ALIGNED short int - -/* A lexical scanner generated by flex */ - -#define FLEX_SCANNER -#define YY_FLEX_MAJOR_VERSION 2 -#define YY_FLEX_MINOR_VERSION 6 -#define YY_FLEX_SUBMINOR_VERSION 0 -#if YY_FLEX_SUBMINOR_VERSION > 0 -#define FLEX_BETA -#endif - -/* First, we deal with platform-specific or compiler-specific issues. */ - -/* begin standard C headers. */ -#include <stdio.h> -#include <string.h> -#include <errno.h> -#include <stdlib.h> - -/* end standard C headers. */ - -/* flex integer type definitions */ - -#ifndef FLEXINT_H -#define FLEXINT_H - -/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ - -#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L - -/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, - * if you want the limit (max/min) macros for int types. - */ -#ifndef __STDC_LIMIT_MACROS -#define __STDC_LIMIT_MACROS 1 -#endif - -#include <inttypes.h> -typedef int8_t flex_int8_t; -typedef uint8_t flex_uint8_t; -typedef int16_t flex_int16_t; -typedef uint16_t flex_uint16_t; -typedef int32_t flex_int32_t; -typedef uint32_t flex_uint32_t; -#else -typedef signed char flex_int8_t; -typedef short int flex_int16_t; -typedef int flex_int32_t; -typedef unsigned char flex_uint8_t; -typedef unsigned short int flex_uint16_t; -typedef unsigned int flex_uint32_t; - -/* Limits of integral types. */ -#ifndef INT8_MIN -#define INT8_MIN (-128) -#endif -#ifndef INT16_MIN -#define INT16_MIN (-32767-1) -#endif -#ifndef INT32_MIN -#define INT32_MIN (-2147483647-1) -#endif -#ifndef INT8_MAX -#define INT8_MAX (127) -#endif -#ifndef INT16_MAX -#define INT16_MAX (32767) -#endif -#ifndef INT32_MAX -#define INT32_MAX (2147483647) -#endif -#ifndef UINT8_MAX -#define UINT8_MAX (255U) -#endif -#ifndef UINT16_MAX -#define UINT16_MAX (65535U) -#endif -#ifndef UINT32_MAX -#define UINT32_MAX (4294967295U) -#endif - -#endif /* ! C99 */ - -#endif /* ! FLEXINT_H */ - -#ifdef __cplusplus - -/* The "const" storage-class-modifier is valid. */ -#define YY_USE_CONST - -#else /* ! __cplusplus */ - -/* C99 requires __STDC__ to be defined as 1. */ -#if defined (__STDC__) - -#define YY_USE_CONST - -#endif /* defined (__STDC__) */ -#endif /* ! __cplusplus */ - -#ifdef YY_USE_CONST -#define yyconst const -#else -#define yyconst -#endif - -/* Returned upon end-of-file. */ -#define YY_NULL 0 - -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. - */ -#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) - -/* Enter a start condition. This macro really ought to take a parameter, - * but we do it the disgusting crufty way forced on us by the ()-less - * definition of BEGIN. - */ -#define BEGIN (yy_start) = 1 + 2 * - -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. The YYSTATE alias is for lex - * compatibility. - */ -#define YY_START (((yy_start) - 1) / 2) -#define YYSTATE YY_START - -/* Action number for EOF rule of a given start state. */ -#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) - -/* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE yyrestart(yyin ) - -#define YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#ifndef YY_BUF_SIZE -#ifdef __ia64__ -/* On IA-64, the buffer size is 16k, not 8k. - * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. - * Ditto for the __ia64__ case accordingly. - */ -#define YY_BUF_SIZE 32768 -#else -#define YY_BUF_SIZE 16384 -#endif /* __ia64__ */ -#endif - -/* The state buf must be large enough to hold one state per character in the main buffer. - */ -#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) - -#ifndef YY_TYPEDEF_YY_BUFFER_STATE -#define YY_TYPEDEF_YY_BUFFER_STATE -typedef struct yy_buffer_state *YY_BUFFER_STATE; -#endif - -#ifndef YY_TYPEDEF_YY_SIZE_T -#define YY_TYPEDEF_YY_SIZE_T -typedef size_t yy_size_t; -#endif - -extern yy_size_t yyleng; - -extern FILE *yyin, *yyout; - -#define EOB_ACT_CONTINUE_SCAN 0 -#define EOB_ACT_END_OF_FILE 1 -#define EOB_ACT_LAST_MATCH 2 - - /* Note: We specifically omit the test for yy_rule_can_match_eol because it requires - * access to the local variable yy_act. Since yyless() is a macro, it would break - * existing scanners that call yyless() from OUTSIDE yylex. - * One obvious solution it to make yy_act a global. I tried that, and saw - * a 5% performance hit in a non-yylineno scanner, because yy_act is - * normally declared as a register variable-- so it is not worth it. - */ - #define YY_LESS_LINENO(n) \ - do { \ - int yyl;\ - for ( yyl = n; yyl < yyleng; ++yyl )\ - if ( yytext[yyl] == '\n' )\ - --yylineno;\ - }while(0) - #define YY_LINENO_REWIND_TO(dst) \ - do {\ - const char *p;\ - for ( p = yy_cp-1; p >= (dst); --p)\ - if ( *p == '\n' )\ - --yylineno;\ - }while(0) - -/* Return all but the first "n" matched characters back to the input stream. */ -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - int yyless_macro_arg = (n); \ - YY_LESS_LINENO(yyless_macro_arg);\ - *yy_cp = (yy_hold_char); \ - YY_RESTORE_YY_MORE_OFFSET \ - (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up yytext again */ \ - } \ - while ( 0 ) - -#define unput(c) yyunput( c, (yytext_ptr) ) - -#ifndef YY_STRUCT_YY_BUFFER_STATE -#define YY_STRUCT_YY_BUFFER_STATE -struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - yy_size_t yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - yy_size_t yy_n_chars; - - /* Whether we "own" the buffer - i.e., we know we created it, - * and can realloc() it to grow it, and should free() it to - * delete it. - */ - int yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int yy_at_bol; - - int yy_bs_lineno; /**< The line count. */ - int yy_bs_column; /**< The column count. */ - - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; - - int yy_buffer_status; - -#define YY_BUFFER_NEW 0 -#define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via yyrestart()), so that the user can continue scanning by - * just pointing yyin at a new input file. - */ -#define YY_BUFFER_EOF_PENDING 2 - - }; -#endif /* !YY_STRUCT_YY_BUFFER_STATE */ - -/* Stack of input buffers. */ -static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ -static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ -static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ - -/* We provide macros for accessing buffer states in case in the - * future we want to put the buffer states in a more general - * "scanner state". - * - * Returns the top of the stack, or NULL. - */ -#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ - ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ - : NULL) - -/* Same as previous macro, but useful when we know that the buffer stack is not - * NULL or when we need an lvalue. For internal use only. - */ -#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] - -/* yy_hold_char holds the character lost when yytext is formed. */ -static char yy_hold_char; -static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ -yy_size_t yyleng; - -/* Points to current character in buffer. */ -static char *yy_c_buf_p = (char *) 0; -static int yy_init = 0; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ - -/* Flag which is used to allow yywrap()'s to do buffer switches - * instead of setting up a fresh yyin. A bit of a hack ... - */ -static int yy_did_buffer_switch_on_eof; - -void yyrestart (FILE *input_file ); -void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); -YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); -void yy_delete_buffer (YY_BUFFER_STATE b ); -void yy_flush_buffer (YY_BUFFER_STATE b ); -void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); -void yypop_buffer_state (void ); - -static void yyensure_buffer_stack (void ); -static void yy_load_buffer_state (void ); -static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); - -#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) - -YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); -YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); -YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len ); - -void *yyalloc (yy_size_t ); -void *yyrealloc (void *,yy_size_t ); -void yyfree (void * ); - -#define yy_new_buffer yy_create_buffer - -#define yy_set_interactive(is_interactive) \ - { \ - if ( ! YY_CURRENT_BUFFER ){ \ - yyensure_buffer_stack (); \ - YY_CURRENT_BUFFER_LVALUE = \ - yy_create_buffer(yyin,YY_BUF_SIZE ); \ - } \ - YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ - } - -#define yy_set_bol(at_bol) \ - { \ - if ( ! YY_CURRENT_BUFFER ){\ - yyensure_buffer_stack (); \ - YY_CURRENT_BUFFER_LVALUE = \ - yy_create_buffer(yyin,YY_BUF_SIZE ); \ - } \ - YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ - } - -#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) - -/* Begin user sect3 */ - -typedef unsigned char YY_CHAR; - -FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; - -typedef int yy_state_type; - -#define YY_FLEX_LEX_COMPAT -extern int yylineno; - -int yylineno = 1; - -extern char yytext[]; - -static yy_state_type yy_get_previous_state (void ); -static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); -static int yy_get_next_buffer (void ); -#if defined(__GNUC__) && __GNUC__ >= 3 -__attribute__((__noreturn__)) -#endif -static void yy_fatal_error (yyconst char msg[] ); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up yytext. - */ -#define YY_DO_BEFORE_ACTION \ - (yytext_ptr) = yy_bp; \ - yyleng = (size_t) (yy_cp - yy_bp); \ - (yy_hold_char) = *yy_cp; \ - *yy_cp = '\0'; \ - if ( yyleng >= YYLMAX ) \ - YY_FATAL_ERROR( "token too large, exceeds YYLMAX" ); \ - yy_flex_strncpy( yytext, (yytext_ptr), yyleng + 1 ); \ - (yy_c_buf_p) = yy_cp; - -#define YY_NUM_RULES 25 -#define YY_END_OF_BUFFER 26 -/* This struct is not used in this scanner, - but its presence is necessary. */ -struct yy_trans_info - { - flex_int32_t yy_verify; - flex_int32_t yy_nxt; - }; -static yyconst flex_int16_t yy_accept[102] = - { 0, - 0, 0, 26, 24, 1, 3, 3, 24, 24, 6, - 24, 24, 24, 8, 24, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 3, 0, 9, 0, 2, - 6, 11, 10, 0, 0, 8, 0, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 4, - 5, 7, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 22, 20, 23, 8, 8, - 21, 8, 19, 8, 8, 8, 8, 8, 8, 8, - 18, 8, 8, 8, 8, 12, 8, 8, 8, 8, - 8, 13, 15, 16, 14, 8, 8, 8, 8, 17, - - 0 - } ; - -static yyconst YY_CHAR yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 5, 6, 7, 6, 6, 8, 6, 9, 6, - 6, 6, 6, 6, 6, 6, 6, 10, 10, 10, - 10, 10, 10, 10, 10, 11, 11, 12, 6, 13, - 14, 15, 6, 16, 17, 17, 17, 17, 17, 17, - 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, - 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, - 6, 6, 6, 6, 19, 20, 21, 22, 17, 23, - - 24, 17, 25, 26, 27, 18, 18, 28, 29, 30, - 31, 32, 18, 33, 34, 35, 36, 37, 18, 38, - 18, 18, 6, 6, 6, 6, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static yyconst YY_CHAR yy_meta[39] = - { 0, - 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, - 3, 2, 2, 2, 2, 2, 3, 4, 4, 2, - 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4 - } ; - -static yyconst flex_uint16_t yy_base[107] = - { 0, - 0, 0, 130, 131, 131, 131, 126, 121, 124, 29, - 112, 110, 34, 0, 0, 96, 99, 95, 12, 91, - 89, 83, 13, 83, 96, 131, 109, 108, 111, 131, - 35, 131, 131, 0, 103, 0, 103, 84, 85, 72, - 85, 75, 74, 82, 69, 71, 68, 80, 78, 0, - 89, 131, 77, 85, 84, 83, 61, 57, 80, 59, - 78, 63, 53, 59, 52, 131, 131, 131, 61, 49, - 131, 47, 131, 70, 57, 56, 55, 44, 65, 41, - 131, 41, 40, 39, 38, 131, 59, 58, 57, 56, - 40, 131, 131, 131, 131, 35, 35, 30, 36, 131, - - 131, 50, 54, 56, 59, 44 - } ; - -static yyconst flex_int16_t yy_def[107] = - { 0, - 101, 1, 101, 101, 101, 101, 101, 102, 103, 101, - 101, 101, 101, 104, 105, 104, 104, 104, 104, 104, - 104, 104, 104, 104, 104, 101, 102, 101, 103, 101, - 101, 101, 101, 106, 101, 104, 101, 104, 104, 104, - 104, 104, 104, 104, 104, 104, 104, 104, 104, 106, - 101, 101, 104, 104, 104, 104, 104, 104, 104, 104, - 104, 104, 104, 104, 104, 101, 101, 101, 104, 104, - 101, 104, 101, 104, 104, 104, 104, 104, 104, 104, - 101, 104, 104, 104, 104, 101, 104, 104, 104, 104, - 104, 101, 101, 101, 101, 104, 104, 104, 104, 101, - - 0, 101, 101, 101, 101, 101 - } ; - -static yyconst flex_uint16_t yy_nxt[170] = - { 0, - 4, 5, 6, 7, 5, 4, 8, 9, 4, 10, - 10, 4, 11, 12, 4, 13, 14, 14, 4, 15, - 16, 17, 18, 19, 14, 14, 20, 14, 21, 14, - 22, 23, 14, 24, 25, 14, 14, 14, 31, 31, - 34, 41, 35, 46, 31, 31, 50, 100, 47, 42, - 27, 27, 27, 27, 29, 29, 29, 29, 36, 36, - 37, 37, 37, 99, 98, 97, 96, 95, 94, 93, - 92, 91, 90, 89, 88, 87, 86, 85, 84, 83, - 82, 81, 80, 79, 78, 77, 76, 75, 74, 73, - 72, 71, 70, 69, 68, 67, 66, 65, 51, 64, - - 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, - 53, 52, 51, 30, 27, 28, 49, 48, 45, 44, - 43, 40, 39, 38, 33, 32, 30, 28, 26, 101, - 3, 101, 101, 101, 101, 101, 101, 101, 101, 101, - 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, - 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, - 101, 101, 101, 101, 101, 101, 101, 101, 101 - } ; - -static yyconst flex_int16_t yy_chk[170] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 10, 10, - 13, 19, 13, 23, 31, 31, 106, 99, 23, 19, - 102, 102, 102, 102, 103, 103, 103, 103, 104, 104, - 105, 105, 105, 98, 97, 96, 91, 90, 89, 88, - 87, 85, 84, 83, 82, 80, 79, 78, 77, 76, - 75, 74, 72, 70, 69, 65, 64, 63, 62, 61, - 60, 59, 58, 57, 56, 55, 54, 53, 51, 49, - - 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, - 38, 37, 35, 29, 28, 27, 25, 24, 22, 21, - 20, 18, 17, 16, 12, 11, 9, 8, 7, 3, - 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, - 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, - 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, - 101, 101, 101, 101, 101, 101, 101, 101, 101 - } ; - -/* Table of booleans, true if rule could match eol. */ -static yyconst flex_int32_t yy_rule_can_match_eol[26] = - { 0, -0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, }; - -static yy_state_type yy_last_accepting_state; -static char *yy_last_accepting_cpos; - -extern int yy_flex_debug; -int yy_flex_debug = 0; - -/* The intent behind this definition is that it'll catch - * any uses of REJECT which flex missed. - */ -#define REJECT reject_used_but_not_detected -#define yymore() yymore_used_but_not_detected -#define YY_MORE_ADJ 0 -#define YY_RESTORE_YY_MORE_OFFSET -#ifndef YYLMAX -#define YYLMAX 8192 -#endif - -char yytext[YYLMAX]; -char *yytext_ptr; -#line 1 "../../../../texk/web2c/otps/otp-lexer.l" -/* otp-lexer.l: Lexical analysis for OTP files - -This file is part of Omega, -which is based on the web2c distribution of TeX, - -Copyright (c) 1994--2001 John Plaice and Yannis Haralambous -Copyright (c) 2002 Behdad Esfahbod -Copyright (C) 2002, 2005, 2006 Roozbeh Pournader - -Omega is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -Omega is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with Omega; if not, write to the Free Software Foundation, Inc., -59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -*/ - -#line 35 "../../../../texk/web2c/otps/otp-lexer.l" -#define YY_NO_UNPUT -#define OTP_MAXCODE 0xFFFF -int line_number = 1; -extern YYSTYPE yylval; -#line 601 "../../../../texk/web2c/otps/otp-lexer.c" - -#define INITIAL 0 - -#ifndef YY_NO_UNISTD_H -/* Special case for "unistd.h", since it is non-ANSI. We include it way - * down here because we want the user's section 1 to have been scanned first. - * The user has a chance to override it with an option. - */ -#include <unistd.h> -#endif - -#ifndef YY_EXTRA_TYPE -#define YY_EXTRA_TYPE void * -#endif - -static int yy_init_globals (void ); - -/* Accessor methods to globals. - These are made visible to non-reentrant scanners for convenience. */ - -int yylex_destroy (void ); - -int yyget_debug (void ); - -void yyset_debug (int debug_flag ); - -YY_EXTRA_TYPE yyget_extra (void ); - -void yyset_extra (YY_EXTRA_TYPE user_defined ); - -FILE *yyget_in (void ); - -void yyset_in (FILE * _in_str ); - -FILE *yyget_out (void ); - -void yyset_out (FILE * _out_str ); - -yy_size_t yyget_leng (void ); - -char *yyget_text (void ); - -int yyget_lineno (void ); - -void yyset_lineno (int _line_number ); - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifndef YY_SKIP_YYWRAP -#ifdef __cplusplus -extern "C" int yywrap (void ); -#else -extern int yywrap (void ); -#endif -#endif - -#ifndef YY_NO_UNPUT - - static void yyunput (int c,char *buf_ptr ); - -#endif - -#ifndef yytext_ptr -static void yy_flex_strncpy (char *,yyconst char *,int ); -#endif - -#ifdef YY_NEED_STRLEN -static int yy_flex_strlen (yyconst char * ); -#endif - -#ifndef YY_NO_INPUT - -#ifdef __cplusplus -static int yyinput (void ); -#else -static int input (void ); -#endif - -#endif - -/* Amount of stuff to slurp up with each read. */ -#ifndef YY_READ_BUF_SIZE -#ifdef __ia64__ -/* On IA-64, the buffer size is 16k, not 8k */ -#define YY_READ_BUF_SIZE 16384 -#else -#define YY_READ_BUF_SIZE 8192 -#endif /* __ia64__ */ -#endif - -/* Copy whatever the last rule matched to the standard output. */ -#ifndef ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, - * is returned in "result". - */ -#ifndef YY_INPUT -#define YY_INPUT(buf,result,max_size) \ - if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ - { \ - int c = '*'; \ - size_t n; \ - for ( n = 0; n < max_size && \ - (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else \ - { \ - errno=0; \ - while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ - { \ - if( errno != EINTR) \ - { \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - break; \ - } \ - errno=0; \ - clearerr(yyin); \ - } \ - }\ -\ - -#endif - -/* No semi-colon after return; correct usage is to write "yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef yyterminate -#define yyterminate() return YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef YY_START_STACK_INCR -#define YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef YY_FATAL_ERROR -#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) -#endif - -/* end tables serialization structures and prototypes */ - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef YY_DECL -#define YY_DECL_IS_OURS 1 - -extern int yylex (void); - -#define YY_DECL int yylex (void) -#endif /* !YY_DECL */ - -/* Code executed at the beginning of each rule, after yytext and yyleng - * have been set up. - */ -#ifndef YY_USER_ACTION -#define YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef YY_BREAK -#define YY_BREAK /*LINTED*/break; -#endif - -#define YY_RULE_SETUP \ - YY_USER_ACTION - -/** The main scanner function which does all the work. - */ -YY_DECL -{ - yy_state_type yy_current_state; - char *yy_cp, *yy_bp; - int yy_act; - - if ( !(yy_init) ) - { - (yy_init) = 1; - -#ifdef YY_USER_INIT - YY_USER_INIT; -#endif - - if ( ! (yy_start) ) - (yy_start) = 1; /* first start state */ - - if ( ! yyin ) - yyin = stdin; - - if ( ! yyout ) - yyout = stdout; - - if ( ! YY_CURRENT_BUFFER ) { - yyensure_buffer_stack (); - YY_CURRENT_BUFFER_LVALUE = - yy_create_buffer(yyin,YY_BUF_SIZE ); - } - - yy_load_buffer_state( ); - } - - { -#line 48 "../../../../texk/web2c/otps/otp-lexer.l" - -#line 821 "../../../../texk/web2c/otps/otp-lexer.c" - - while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ - { - yy_cp = (yy_c_buf_p); - - /* Support of yytext. */ - *yy_cp = (yy_hold_char); - - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; - - yy_current_state = (yy_start); -yy_match: - do - { - YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; - if ( yy_accept[yy_current_state] ) - { - (yy_last_accepting_state) = yy_current_state; - (yy_last_accepting_cpos) = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 102 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - ++yy_cp; - } - while ( yy_current_state != 101 ); - yy_cp = (yy_last_accepting_cpos); - yy_current_state = (yy_last_accepting_state); - -yy_find_action: - yy_act = yy_accept[yy_current_state]; - - YY_DO_BEFORE_ACTION; - - if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) - { - yy_size_t yyl; - for ( yyl = 0; yyl < yyleng; ++yyl ) - if ( yytext[yyl] == '\n' ) - - yylineno++; -; - } - -do_action: /* This label is used only to access EOF actions. */ - - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = (yy_hold_char); - yy_cp = (yy_last_accepting_cpos); - yy_current_state = (yy_last_accepting_state); - goto yy_find_action; - -case 1: -YY_RULE_SETUP -#line 49 "../../../../texk/web2c/otps/otp-lexer.l" -{} - YY_BREAK -case 2: -/* rule 2 can match eol */ -YY_RULE_SETUP -#line 50 "../../../../texk/web2c/otps/otp-lexer.l" -{ line_number++;} - YY_BREAK -case 3: -/* rule 3 can match eol */ -YY_RULE_SETUP -#line 51 "../../../../texk/web2c/otps/otp-lexer.l" -{ line_number++;} - YY_BREAK -case 4: -YY_RULE_SETUP -#line 52 "../../../../texk/web2c/otps/otp-lexer.l" -{ - int i, j; - yylval.yint=0; - for (i=2; i<yyleng; i++) { - j = yytext[i]; - if ((j>='0')&&(j<='9')) { - yylval.yint = (yylval.yint*16)+(j-'0'); - } else if ((j>='a')&&(j<='f')) { - yylval.yint = (yylval.yint*16)+(j-'a'+10); - } else { /* ((j>='A') && (j>='F')) */ - yylval.yint = (yylval.yint*16)+(j-'A'+10); - } - if (yylval.yint>OTP_MAXCODE) { - fprintf(stderr, "line %d: value too large (%x)\n", - line_number, yylval.yint); - exit(1); - } - } - return(NUMBER); - } - YY_BREAK -case 5: -YY_RULE_SETUP -#line 72 "../../../../texk/web2c/otps/otp-lexer.l" -{ - int i, j; - yylval.yint=0; - for (i=2; i<yyleng; i++) { - j = yytext[i]; - yylval.yint = (yylval.yint*8)+(j-'0'); - if (yylval.yint>OTP_MAXCODE) { - fprintf(stderr, "line %d: value too large (%o)\n", - line_number, yylval.yint); - exit(1); - } - } - return(NUMBER); - } - YY_BREAK -case 6: -YY_RULE_SETUP -#line 86 "../../../../texk/web2c/otps/otp-lexer.l" -{ - int i, j; - yylval.yint=0; - for (i=0; i<yyleng; i++) { - j = yytext[i]; - yylval.yint = (yylval.yint*10)+(j-'0'); - if (yylval.yint>OTP_MAXCODE) { - fprintf(stderr, "line %d: value too large (%d)\n", - line_number, yylval.yint); - exit(1); - } - } - return(NUMBER); - } - YY_BREAK -case 7: -YY_RULE_SETUP -#line 100 "../../../../texk/web2c/otps/otp-lexer.l" -{ - yylval.yint=yytext[1]; - return(NUMBER); - } - YY_BREAK -case 8: -YY_RULE_SETUP -#line 104 "../../../../texk/web2c/otps/otp-lexer.l" -{ yylval.ystring=xstrdup(yytext); return(ID); } - YY_BREAK -case 9: -/* rule 9 can match eol */ -YY_RULE_SETUP -#line 105 "../../../../texk/web2c/otps/otp-lexer.l" -{ - int i, j, last; - char *newtext; - last=yyleng-2; - i=0; - j=1; - newtext=yylval.ystring=xstrdup(yytext); - while (j<=last) { - newtext[i]=yytext[j]; - if ((yytext[j]=='"') && (yytext[j+1]=='"')) j=j+2; - else j++; - i++; - } - newtext[i]='\0'; - return(STRING); - } - YY_BREAK -case 10: -YY_RULE_SETUP -#line 121 "../../../../texk/web2c/otps/otp-lexer.l" -return(RIGHTARROW); - YY_BREAK -case 11: -YY_RULE_SETUP -#line 122 "../../../../texk/web2c/otps/otp-lexer.l" -return(LEFTARROW); - YY_BREAK -case 12: -YY_RULE_SETUP -#line 123 "../../../../texk/web2c/otps/otp-lexer.l" -return(INPUT); - YY_BREAK -case 13: -YY_RULE_SETUP -#line 124 "../../../../texk/web2c/otps/otp-lexer.l" -return(OUTPUT); - YY_BREAK -case 14: -YY_RULE_SETUP -#line 125 "../../../../texk/web2c/otps/otp-lexer.l" -return(ALIASES); - YY_BREAK -case 15: -YY_RULE_SETUP -#line 126 "../../../../texk/web2c/otps/otp-lexer.l" -return(STATES); - YY_BREAK -case 16: -YY_RULE_SETUP -#line 127 "../../../../texk/web2c/otps/otp-lexer.l" -return(TABLES); - YY_BREAK -case 17: -YY_RULE_SETUP -#line 128 "../../../../texk/web2c/otps/otp-lexer.l" -return(EXPRESSIONS); - YY_BREAK -case 18: -YY_RULE_SETUP -#line 129 "../../../../texk/web2c/otps/otp-lexer.l" -return(PUSH); - YY_BREAK -case 19: -YY_RULE_SETUP -#line 130 "../../../../texk/web2c/otps/otp-lexer.l" -return(POP); - YY_BREAK -case 20: -YY_RULE_SETUP -#line 131 "../../../../texk/web2c/otps/otp-lexer.l" -return(DIV); - YY_BREAK -case 21: -YY_RULE_SETUP -#line 132 "../../../../texk/web2c/otps/otp-lexer.l" -return(MOD); - YY_BREAK -case 22: -YY_RULE_SETUP -#line 133 "../../../../texk/web2c/otps/otp-lexer.l" -return(BEG); - YY_BREAK -case 23: -YY_RULE_SETUP -#line 134 "../../../../texk/web2c/otps/otp-lexer.l" -return(END); - YY_BREAK -case 24: -YY_RULE_SETUP -#line 135 "../../../../texk/web2c/otps/otp-lexer.l" -return(yytext[0]); - YY_BREAK -case 25: -YY_RULE_SETUP -#line 137 "../../../../texk/web2c/otps/otp-lexer.l" -ECHO; - YY_BREAK -#line 1075 "../../../../texk/web2c/otps/otp-lexer.c" -case YY_STATE_EOF(INITIAL): - yyterminate(); - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = (yy_hold_char); - YY_RESTORE_YY_MORE_OFFSET - - if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed yyin at a new source and called - * yylex(). If so, then we have to assure - * consistency between YY_CURRENT_BUFFER and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; - YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; - YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state( ); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++(yy_c_buf_p); - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = (yy_last_accepting_cpos); - yy_current_state = (yy_last_accepting_state); - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer( ) ) - { - case EOB_ACT_END_OF_FILE: - { - (yy_did_buffer_switch_on_eof) = 0; - - if ( yywrap( ) ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * yytext, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! (yy_did_buffer_switch_on_eof) ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - (yy_c_buf_p) = - (yytext_ptr) + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state( ); - - yy_cp = (yy_c_buf_p); - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - (yy_c_buf_p) = - &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; - - yy_current_state = yy_get_previous_state( ); - - yy_cp = (yy_c_buf_p); - yy_bp = (yytext_ptr) + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of user's declarations */ -} /* end of yylex */ - -/* yy_get_next_buffer - try to read in a new buffer - * - * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file - */ -static int yy_get_next_buffer (void) -{ - char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; - char *source = (yytext_ptr); - yy_size_t number_to_move, i; - int ret_val; - - if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) - { - /* We matched a single character, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (yy_size_t) ((yy_c_buf_p) - (yytext_ptr)) - 1; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; - - else - { - yy_size_t num_to_read = - YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; - - while ( num_to_read <= 0 ) - { /* Not enough room in the buffer - grow it. */ - - /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE; - - int yy_c_buf_p_offset = - (int) ((yy_c_buf_p) - b->yy_ch_buf); - - if ( b->yy_is_our_buffer ) - { - yy_size_t new_size = b->yy_buf_size * 2; - - if ( new_size <= 0 ) - b->yy_buf_size += b->yy_buf_size / 8; - else - b->yy_buf_size *= 2; - - b->yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - - number_to_move - 1; - - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), - (yy_n_chars), num_to_read ); - - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - if ( (yy_n_chars) == 0 ) - { - if ( number_to_move == YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - yyrestart(yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { - /* Extend the array by 50%, plus the number we really need. */ - yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); - if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); - } - - (yy_n_chars) += number_to_move; - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; - - (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; - - return ret_val; -} - -/* yy_get_previous_state - get the state just before the EOB char was reached */ - - static yy_state_type yy_get_previous_state (void) -{ - yy_state_type yy_current_state; - char *yy_cp; - - yy_current_state = (yy_start); - - for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) - { - YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); - if ( yy_accept[yy_current_state] ) - { - (yy_last_accepting_state) = yy_current_state; - (yy_last_accepting_cpos) = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 102 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - } - - return yy_current_state; -} - -/* yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = yy_try_NUL_trans( current_state ); - */ - static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) -{ - int yy_is_jam; - char *yy_cp = (yy_c_buf_p); - - YY_CHAR yy_c = 1; - if ( yy_accept[yy_current_state] ) - { - (yy_last_accepting_state) = yy_current_state; - (yy_last_accepting_cpos) = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 102 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - yy_is_jam = (yy_current_state == 101); - - return yy_is_jam ? 0 : yy_current_state; -} - -#ifndef YY_NO_UNPUT - - static void yyunput (int c, char * yy_bp ) -{ - char *yy_cp; - - yy_cp = (yy_c_buf_p); - - /* undo effects of setting up yytext */ - *yy_cp = (yy_hold_char); - - if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) - { /* need to shift things up to make room */ - /* +2 for EOB chars. */ - yy_size_t number_to_move = (yy_n_chars) + 2; - char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ - YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; - char *source = - &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; - - while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) - *--dest = *--source; - - yy_cp += (int) (dest - source); - yy_bp += (int) (dest - source); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; - - if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) - YY_FATAL_ERROR( "flex scanner push-back overflow" ); - } - - *--yy_cp = (char) c; - - if ( c == '\n' ){ - --yylineno; - } - - (yytext_ptr) = yy_bp; - (yy_hold_char) = *yy_cp; - (yy_c_buf_p) = yy_cp; -} - -#endif - -#ifndef YY_NO_INPUT -#ifdef __cplusplus - static int yyinput (void) -#else - static int input (void) -#endif - -{ - int c; - - *(yy_c_buf_p) = (yy_hold_char); - - if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) - /* This was really a NUL. */ - *(yy_c_buf_p) = '\0'; - - else - { /* need more input */ - yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); - ++(yy_c_buf_p); - - switch ( yy_get_next_buffer( ) ) - { - case EOB_ACT_LAST_MATCH: - /* This happens because yy_g_n_b() - * sees that we've accumulated a - * token and flags that we need to - * try matching the token before - * proceeding. But for input(), - * there's no matching to consider. - * So convert the EOB_ACT_LAST_MATCH - * to EOB_ACT_END_OF_FILE. - */ - - /* Reset buffer status. */ - yyrestart(yyin ); - - /*FALLTHROUGH*/ - - case EOB_ACT_END_OF_FILE: - { - if ( yywrap( ) ) - return EOF; - - if ( ! (yy_did_buffer_switch_on_eof) ) - YY_NEW_FILE; -#ifdef __cplusplus - return yyinput(); -#else - return input(); -#endif - } - - case EOB_ACT_CONTINUE_SCAN: - (yy_c_buf_p) = (yytext_ptr) + offset; - break; - } - } - } - - c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ - *(yy_c_buf_p) = '\0'; /* preserve yytext */ - (yy_hold_char) = *++(yy_c_buf_p); - - if ( c == '\n' ) - - yylineno++; -; - - return c; -} -#endif /* ifndef YY_NO_INPUT */ - -/** Immediately switch to a different input stream. - * @param input_file A readable stream. - * - * @note This function does not reset the start condition to @c INITIAL . - */ - void yyrestart (FILE * input_file ) -{ - - if ( ! YY_CURRENT_BUFFER ){ - yyensure_buffer_stack (); - YY_CURRENT_BUFFER_LVALUE = - yy_create_buffer(yyin,YY_BUF_SIZE ); - } - - yy_init_buffer(YY_CURRENT_BUFFER,input_file ); - yy_load_buffer_state( ); -} - -/** Switch to a different input buffer. - * @param new_buffer The new input buffer. - * - */ - void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) -{ - - /* TODO. We should be able to replace this entire function body - * with - * yypop_buffer_state(); - * yypush_buffer_state(new_buffer); - */ - yyensure_buffer_stack (); - if ( YY_CURRENT_BUFFER == new_buffer ) - return; - - if ( YY_CURRENT_BUFFER ) - { - /* Flush out information for old buffer. */ - *(yy_c_buf_p) = (yy_hold_char); - YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - YY_CURRENT_BUFFER_LVALUE = new_buffer; - yy_load_buffer_state( ); - - /* We don't actually know whether we did this switch during - * EOF (yywrap()) processing, but the only time this flag - * is looked at is after yywrap() is called, so it's safe - * to go ahead and always set it. - */ - (yy_did_buffer_switch_on_eof) = 1; -} - -static void yy_load_buffer_state (void) -{ - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; - (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; - yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; - (yy_hold_char) = *(yy_c_buf_p); -} - -/** Allocate and initialize an input buffer state. - * @param file A readable stream. - * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. - * - * @return the allocated buffer state. - */ - YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) -{ - YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_buf_size = (yy_size_t)size; - - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_is_our_buffer = 1; - - yy_init_buffer(b,file ); - - return b; -} - -/** Destroy the buffer. - * @param b a buffer created with yy_create_buffer() - * - */ - void yy_delete_buffer (YY_BUFFER_STATE b ) -{ - - if ( ! b ) - return; - - if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ - YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; - - if ( b->yy_is_our_buffer ) - yyfree((void *) b->yy_ch_buf ); - - yyfree((void *) b ); -} - -/* Initializes or reinitializes a buffer. - * This function is sometimes called more than once on the same buffer, - * such as during a yyrestart() or at EOF. - */ - static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) - -{ - int oerrno = errno; - - yy_flush_buffer(b ); - - b->yy_input_file = file; - b->yy_fill_buffer = 1; - - /* If b is the current buffer, then yy_init_buffer was _probably_ - * called from yyrestart() or through yy_get_next_buffer. - * In that case, we don't want to reset the lineno or column. - */ - if (b != YY_CURRENT_BUFFER){ - b->yy_bs_lineno = 1; - b->yy_bs_column = 0; - } - - b->yy_is_interactive = 0; - - errno = oerrno; -} - -/** Discard all buffered characters. On the next scan, YY_INPUT will be called. - * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. - * - */ - void yy_flush_buffer (YY_BUFFER_STATE b ) -{ - if ( ! b ) - return; - - b->yy_n_chars = 0; - - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - - b->yy_buf_pos = &b->yy_ch_buf[0]; - - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; - - if ( b == YY_CURRENT_BUFFER ) - yy_load_buffer_state( ); -} - -/** Pushes the new state onto the stack. The new state becomes - * the current state. This function will allocate the stack - * if necessary. - * @param new_buffer The new state. - * - */ -void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) -{ - if (new_buffer == NULL) - return; - - yyensure_buffer_stack(); - - /* This block is copied from yy_switch_to_buffer. */ - if ( YY_CURRENT_BUFFER ) - { - /* Flush out information for old buffer. */ - *(yy_c_buf_p) = (yy_hold_char); - YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); - } - - /* Only push if top exists. Otherwise, replace top. */ - if (YY_CURRENT_BUFFER) - (yy_buffer_stack_top)++; - YY_CURRENT_BUFFER_LVALUE = new_buffer; - - /* copied from yy_switch_to_buffer. */ - yy_load_buffer_state( ); - (yy_did_buffer_switch_on_eof) = 1; -} - -/** Removes and deletes the top of the stack, if present. - * The next element becomes the new top. - * - */ -void yypop_buffer_state (void) -{ - if (!YY_CURRENT_BUFFER) - return; - - yy_delete_buffer(YY_CURRENT_BUFFER ); - YY_CURRENT_BUFFER_LVALUE = NULL; - if ((yy_buffer_stack_top) > 0) - --(yy_buffer_stack_top); - - if (YY_CURRENT_BUFFER) { - yy_load_buffer_state( ); - (yy_did_buffer_switch_on_eof) = 1; - } -} - -/* Allocates the stack if it does not exist. - * Guarantees space for at least one push. - */ -static void yyensure_buffer_stack (void) -{ - yy_size_t num_to_alloc; - - if (!(yy_buffer_stack)) { - - /* First allocation is just for 2 elements, since we don't know if this - * scanner will even need a stack. We use 2 instead of 1 to avoid an - * immediate realloc on the next call. - */ - num_to_alloc = 1; // After all that talk, this was set to 1 anyways... - (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc - (num_to_alloc * sizeof(struct yy_buffer_state*) - ); - if ( ! (yy_buffer_stack) ) - YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); - - memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); - - (yy_buffer_stack_max) = num_to_alloc; - (yy_buffer_stack_top) = 0; - return; - } - - if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ - - /* Increase the buffer to prepare for a possible push. */ - yy_size_t grow_size = 8 /* arbitrary grow size */; - - num_to_alloc = (yy_buffer_stack_max) + grow_size; - (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc - ((yy_buffer_stack), - num_to_alloc * sizeof(struct yy_buffer_state*) - ); - if ( ! (yy_buffer_stack) ) - YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); - - /* zero only the new slots.*/ - memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); - (yy_buffer_stack_max) = num_to_alloc; - } -} - -/** Setup the input buffer state to scan directly from a user-specified character buffer. - * @param base the character buffer - * @param size the size in bytes of the character buffer - * - * @return the newly allocated buffer state object. - */ -YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) -{ - YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != YY_END_OF_BUFFER_CHAR || - base[size-1] != YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); - - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->yy_buf_pos = b->yy_ch_buf = base; - b->yy_is_our_buffer = 0; - b->yy_input_file = 0; - b->yy_n_chars = b->yy_buf_size; - b->yy_is_interactive = 0; - b->yy_at_bol = 1; - b->yy_fill_buffer = 0; - b->yy_buffer_status = YY_BUFFER_NEW; - - yy_switch_to_buffer(b ); - - return b; -} - -/** Setup the input buffer state to scan a string. The next call to yylex() will - * scan from a @e copy of @a str. - * @param yystr a NUL-terminated string to scan - * - * @return the newly allocated buffer state object. - * @note If you want to scan bytes that may contain NUL values, then use - * yy_scan_bytes() instead. - */ -YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) -{ - - return yy_scan_bytes(yystr,strlen(yystr) ); -} - -/** Setup the input buffer state to scan the given bytes. The next call to yylex() will - * scan from a @e copy of @a bytes. - * @param yybytes the byte buffer to scan - * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. - * - * @return the newly allocated buffer state object. - */ -YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len ) -{ - YY_BUFFER_STATE b; - char *buf; - yy_size_t n; - yy_size_t i; - - /* Get memory for full buffer, including space for trailing EOB's. */ - n = _yybytes_len + 2; - buf = (char *) yyalloc(n ); - if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); - - for ( i = 0; i < _yybytes_len; ++i ) - buf[i] = yybytes[i]; - - buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; - - b = yy_scan_buffer(buf,n ); - if ( ! b ) - YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); - - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->yy_is_our_buffer = 1; - - return b; -} - -#ifndef YY_EXIT_FAILURE -#define YY_EXIT_FAILURE 2 -#endif - -static void yy_fatal_error (yyconst char* msg ) -{ - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); -} - -/* Redefine yyless() so it works in section 3 code. */ - -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - int yyless_macro_arg = (n); \ - YY_LESS_LINENO(yyless_macro_arg);\ - yytext[yyleng] = (yy_hold_char); \ - (yy_c_buf_p) = yytext + yyless_macro_arg; \ - (yy_hold_char) = *(yy_c_buf_p); \ - *(yy_c_buf_p) = '\0'; \ - yyleng = yyless_macro_arg; \ - } \ - while ( 0 ) - -/* Accessor methods (get/set functions) to struct members. */ - -/** Get the current line number. - * - */ -int yyget_lineno (void) -{ - - return yylineno; -} - -/** Get the input stream. - * - */ -FILE *yyget_in (void) -{ - return yyin; -} - -/** Get the output stream. - * - */ -FILE *yyget_out (void) -{ - return yyout; -} - -/** Get the length of the current token. - * - */ -yy_size_t yyget_leng (void) -{ - return yyleng; -} - -/** Get the current token. - * - */ - -char *yyget_text (void) -{ - return yytext; -} - -/** Set the current line number. - * @param _line_number line number - * - */ -void yyset_lineno (int _line_number ) -{ - - yylineno = _line_number; -} - -/** Set the input stream. This does not discard the current - * input buffer. - * @param _in_str A readable stream. - * - * @see yy_switch_to_buffer - */ -void yyset_in (FILE * _in_str ) -{ - yyin = _in_str ; -} - -void yyset_out (FILE * _out_str ) -{ - yyout = _out_str ; -} - -int yyget_debug (void) -{ - return yy_flex_debug; -} - -void yyset_debug (int _bdebug ) -{ - yy_flex_debug = _bdebug ; -} - -static int yy_init_globals (void) -{ - /* Initialization is the same as for the non-reentrant scanner. - * This function is called from yylex_destroy(), so don't allocate here. - */ - - /* We do not touch yylineno unless the option is enabled. */ - yylineno = 1; - - (yy_buffer_stack) = 0; - (yy_buffer_stack_top) = 0; - (yy_buffer_stack_max) = 0; - (yy_c_buf_p) = (char *) 0; - (yy_init) = 0; - (yy_start) = 0; - -/* Defined in main.c */ -#ifdef YY_STDINIT - yyin = stdin; - yyout = stdout; -#else - yyin = (FILE *) 0; - yyout = (FILE *) 0; -#endif - - /* For future reference: Set errno on error, since we are called by - * yylex_init() - */ - return 0; -} - -/* yylex_destroy is for both reentrant and non-reentrant scanners. */ -int yylex_destroy (void) -{ - - /* Pop the buffer stack, destroying each element. */ - while(YY_CURRENT_BUFFER){ - yy_delete_buffer(YY_CURRENT_BUFFER ); - YY_CURRENT_BUFFER_LVALUE = NULL; - yypop_buffer_state(); - } - - /* Destroy the stack itself. */ - yyfree((yy_buffer_stack) ); - (yy_buffer_stack) = NULL; - - /* Reset the globals. This is important in a non-reentrant scanner so the next time - * yylex() is called, initialization will occur. */ - yy_init_globals( ); - - return 0; -} - -/* - * Internal utility routines. - */ - -#ifndef yytext_ptr -static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) -{ - - int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; -} -#endif - -#ifdef YY_NEED_STRLEN -static int yy_flex_strlen (yyconst char * s ) -{ - int n; - for ( n = 0; s[n]; ++n ) - ; - - return n; -} -#endif - -void *yyalloc (yy_size_t size ) -{ - return (void *) malloc( size ); -} - -void *yyrealloc (void * ptr, yy_size_t size ) -{ - - /* The cast to (char *) in the following accommodates both - * implementations that use char* generic pointers, and those - * that use void* generic pointers. It works with the latter - * because both ANSI C and C++ allow castless assignment from - * any pointer type to void*, and deal with argument conversions - * as though doing an assignment. - */ - return (void *) realloc( (char *) ptr, size ); -} - -void yyfree (void * ptr ) -{ - free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ -} - -#define YYTABLES_NAME "yytables" - -#line 137 "../../../../texk/web2c/otps/otp-lexer.l" - - - - diff --git a/Build/source/texk/web2c/otps/otp-lexer.l b/Build/source/texk/web2c/otps/otp-lexer.l deleted file mode 100644 index 6f4905c5f95..00000000000 --- a/Build/source/texk/web2c/otps/otp-lexer.l +++ /dev/null @@ -1,138 +0,0 @@ -/* otp-lexer.l: Lexical analysis for OTP files - -This file is part of Omega, -which is based on the web2c distribution of TeX, - -Copyright (c) 1994--2001 John Plaice and Yannis Haralambous -Copyright (c) 2002 Behdad Esfahbod -Copyright (C) 2002, 2005, 2006 Roozbeh Pournader - -Omega is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -Omega is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with Omega; if not, write to the Free Software Foundation, Inc., -59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -*/ - -%option never-interactive - -%top{ -#include "routines.h" -#include "yystype.h" -#include "otp-parser.h" -} - -%{ -#define YY_NO_UNPUT -#define OTP_MAXCODE 0xFFFF -int line_number = 1; -extern YYSTYPE yylval; -%} - - -hexnumber @\"[a-fA-F0-9]+ -octnumber @'[0-7]+ -decnumber [0-9]+ -id ([a-zA-Z][_a-zA-Z0-9]*) -string \"([^\"]|\"\")*\" - -%% -[ \t] {} -"%".*\n { line_number++;} -\r\n|\n|\r { line_number++;} -{hexnumber} { - int i, j; - yylval.yint=0; - for (i=2; i<yyleng; i++) { - j = yytext[i]; - if ((j>='0')&&(j<='9')) { - yylval.yint = (yylval.yint*16)+(j-'0'); - } else if ((j>='a')&&(j<='f')) { - yylval.yint = (yylval.yint*16)+(j-'a'+10); - } else { /* ((j>='A') && (j>='F')) */ - yylval.yint = (yylval.yint*16)+(j-'A'+10); - } - if (yylval.yint>OTP_MAXCODE) { - fprintf(stderr, "line %d: value too large (%x)\n", - line_number, yylval.yint); - exit(1); - } - } - return(NUMBER); - } -{octnumber} { - int i, j; - yylval.yint=0; - for (i=2; i<yyleng; i++) { - j = yytext[i]; - yylval.yint = (yylval.yint*8)+(j-'0'); - if (yylval.yint>OTP_MAXCODE) { - fprintf(stderr, "line %d: value too large (%o)\n", - line_number, yylval.yint); - exit(1); - } - } - return(NUMBER); - } -{decnumber} { - int i, j; - yylval.yint=0; - for (i=0; i<yyleng; i++) { - j = yytext[i]; - yylval.yint = (yylval.yint*10)+(j-'0'); - if (yylval.yint>OTP_MAXCODE) { - fprintf(stderr, "line %d: value too large (%d)\n", - line_number, yylval.yint); - exit(1); - } - } - return(NUMBER); - } -"`"[\x20-\x7e]"'" { - yylval.yint=yytext[1]; - return(NUMBER); - } -{id} { yylval.ystring=xstrdup(yytext); return(ID); } -{string} { - int i, j, last; - char *newtext; - last=yyleng-2; - i=0; - j=1; - newtext=yylval.ystring=xstrdup(yytext); - while (j<=last) { - newtext[i]=yytext[j]; - if ((yytext[j]=='"') && (yytext[j+1]=='"')) j=j+2; - else j++; - i++; - } - newtext[i]='\0'; - return(STRING); - } -=> return(RIGHTARROW); -"<"= return(LEFTARROW); -input: return(INPUT); -output: return(OUTPUT); -aliases: return(ALIASES); -states: return(STATES); -tables: return(TABLES); -expressions: return(EXPRESSIONS); -push: return(PUSH); -pop: return(POP); -div: return(DIV); -mod: return(MOD); -beg: return(BEG); -end: return(END); -. return(yytext[0]); - -%% - diff --git a/Build/source/texk/web2c/otps/otp-parser.c b/Build/source/texk/web2c/otps/otp-parser.c deleted file mode 100644 index 9190a00a275..00000000000 --- a/Build/source/texk/web2c/otps/otp-parser.c +++ /dev/null @@ -1,1991 +0,0 @@ -/* A Bison parser, made by GNU Bison 3.0.4. */ - -/* Bison implementation for Yacc-like parsers in C - - Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - -/* As a special exception, you may create a larger work that contains - part or all of the Bison parser skeleton and distribute that work - under terms of your choice, so long as that work isn't itself a - parser generator using the skeleton or a modified version thereof - as a parser skeleton. Alternatively, if you modify or redistribute - the parser skeleton itself, you may (at your option) remove this - special exception, which will cause the skeleton and the resulting - Bison output files to be licensed under the GNU General Public - License without this special exception. - - This special exception was added by the Free Software Foundation in - version 2.2 of Bison. */ - -/* C LALR(1) parser skeleton written by Richard Stallman, by - simplifying the original so-called "semantic" parser. */ - -/* All symbols defined below should begin with yy or YY, to avoid - infringing on user name space. This should be done even for local - variables, as they might otherwise be expanded by user macros. - There are some unavoidable exceptions within include files to - define necessary library symbols; they are noted "INFRINGES ON - USER NAME SPACE" below. */ - -/* Identify Bison output. */ -#define YYBISON 1 - -/* Bison version. */ -#define YYBISON_VERSION "3.0.4" - -/* Skeleton name. */ -#define YYSKELETON_NAME "yacc.c" - -/* Pure parsers. */ -#define YYPURE 0 - -/* Push parsers. */ -#define YYPUSH 0 - -/* Pull parsers. */ -#define YYPULL 1 - - - - -/* Copy the first part of user declarations. */ -#line 25 "otp-parser.y" /* yacc.c:339 */ - -#include "otp.h" -#include "routines.h" -#include "yystype.h" -int k, len; - -static void -yyerror(const char *msg) -{ -fprintf(stderr, "line %d: %s\n", line_number, msg); -} - -#line 79 "otp-parser.c" /* yacc.c:339 */ - -# ifndef YY_NULLPTR -# if defined __cplusplus && 201103L <= __cplusplus -# define YY_NULLPTR nullptr -# else -# define YY_NULLPTR 0 -# endif -# endif - -/* Enabling verbose error messages. */ -#ifdef YYERROR_VERBOSE -# undef YYERROR_VERBOSE -# define YYERROR_VERBOSE 1 -#else -# define YYERROR_VERBOSE 0 -#endif - -/* In a future release of Bison, this section will be replaced - by #include "y.tab.h". */ -#ifndef YY_YY__TEX_LIVE_TEXK_WEB_C_OTPS_OTP_PARSER_H_INCLUDED -# define YY_YY__TEX_LIVE_TEXK_WEB_C_OTPS_OTP_PARSER_H_INCLUDED -/* Debug traces. */ -#ifndef YYDEBUG -# define YYDEBUG 0 -#endif -#if YYDEBUG -extern int yydebug; -#endif - -/* Token type. */ -#ifndef YYTOKENTYPE -# define YYTOKENTYPE - enum yytokentype - { - NUMBER = 258, - ID = 259, - STRING = 260, - LEFTARROW = 261, - RIGHTARROW = 262, - INPUT = 263, - OUTPUT = 264, - ALIASES = 265, - STATES = 266, - TABLES = 267, - EXPRESSIONS = 268, - PUSH = 269, - POP = 270, - DIV = 271, - MOD = 272, - BEG = 273, - END = 274 - }; -#endif -/* Tokens. */ -#define NUMBER 258 -#define ID 259 -#define STRING 260 -#define LEFTARROW 261 -#define RIGHTARROW 262 -#define INPUT 263 -#define OUTPUT 264 -#define ALIASES 265 -#define STATES 266 -#define TABLES 267 -#define EXPRESSIONS 268 -#define PUSH 269 -#define POP 270 -#define DIV 271 -#define MOD 272 -#define BEG 273 -#define END 274 - -/* Value type. */ -#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef int YYSTYPE; -# define YYSTYPE_IS_TRIVIAL 1 -# define YYSTYPE_IS_DECLARED 1 -#endif - - -extern YYSTYPE yylval; - -int yyparse (void); - -#endif /* !YY_YY__TEX_LIVE_TEXK_WEB_C_OTPS_OTP_PARSER_H_INCLUDED */ - -/* Copy the second part of user declarations. */ - -#line 168 "otp-parser.c" /* yacc.c:358 */ - -#ifdef short -# undef short -#endif - -#ifdef YYTYPE_UINT8 -typedef YYTYPE_UINT8 yytype_uint8; -#else -typedef unsigned char yytype_uint8; -#endif - -#ifdef YYTYPE_INT8 -typedef YYTYPE_INT8 yytype_int8; -#else -typedef signed char yytype_int8; -#endif - -#ifdef YYTYPE_UINT16 -typedef YYTYPE_UINT16 yytype_uint16; -#else -typedef unsigned short int yytype_uint16; -#endif - -#ifdef YYTYPE_INT16 -typedef YYTYPE_INT16 yytype_int16; -#else -typedef short int yytype_int16; -#endif - -#ifndef YYSIZE_T -# ifdef __SIZE_TYPE__ -# define YYSIZE_T __SIZE_TYPE__ -# elif defined size_t -# define YYSIZE_T size_t -# elif ! defined YYSIZE_T -# include <stddef.h> /* INFRINGES ON USER NAME SPACE */ -# define YYSIZE_T size_t -# else -# define YYSIZE_T unsigned int -# endif -#endif - -#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) - -#ifndef YY_ -# if defined YYENABLE_NLS && YYENABLE_NLS -# if ENABLE_NLS -# include <libintl.h> /* INFRINGES ON USER NAME SPACE */ -# define YY_(Msgid) dgettext ("bison-runtime", Msgid) -# endif -# endif -# ifndef YY_ -# define YY_(Msgid) Msgid -# endif -#endif - -#ifndef YY_ATTRIBUTE -# if (defined __GNUC__ \ - && (2 < __GNUC__ || (__GNUC__ == 2 && 96 <= __GNUC_MINOR__))) \ - || defined __SUNPRO_C && 0x5110 <= __SUNPRO_C -# define YY_ATTRIBUTE(Spec) __attribute__(Spec) -# else -# define YY_ATTRIBUTE(Spec) /* empty */ -# endif -#endif - -#ifndef YY_ATTRIBUTE_PURE -# define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) -#endif - -#ifndef YY_ATTRIBUTE_UNUSED -# define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) -#endif - -#if !defined _Noreturn \ - && (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112) -# if defined _MSC_VER && 1200 <= _MSC_VER -# define _Noreturn __declspec (noreturn) -# else -# define _Noreturn YY_ATTRIBUTE ((__noreturn__)) -# endif -#endif - -/* Suppress unused-variable warnings by "using" E. */ -#if ! defined lint || defined __GNUC__ -# define YYUSE(E) ((void) (E)) -#else -# define YYUSE(E) /* empty */ -#endif - -#if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__ -/* Suppress an incorrect diagnostic about yylval being uninitialized. */ -# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ - _Pragma ("GCC diagnostic push") \ - _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\ - _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") -# define YY_IGNORE_MAYBE_UNINITIALIZED_END \ - _Pragma ("GCC diagnostic pop") -#else -# define YY_INITIAL_VALUE(Value) Value -#endif -#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN -# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN -# define YY_IGNORE_MAYBE_UNINITIALIZED_END -#endif -#ifndef YY_INITIAL_VALUE -# define YY_INITIAL_VALUE(Value) /* Nothing. */ -#endif - - -#if ! defined yyoverflow || YYERROR_VERBOSE - -/* The parser invokes alloca or malloc; define the necessary symbols. */ - -# ifdef YYSTACK_USE_ALLOCA -# if YYSTACK_USE_ALLOCA -# ifdef __GNUC__ -# define YYSTACK_ALLOC __builtin_alloca -# elif defined __BUILTIN_VA_ARG_INCR -# include <alloca.h> /* INFRINGES ON USER NAME SPACE */ -# elif defined _AIX -# define YYSTACK_ALLOC __alloca -# elif defined _MSC_VER -# include <malloc.h> /* INFRINGES ON USER NAME SPACE */ -# define alloca _alloca -# else -# define YYSTACK_ALLOC alloca -# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS -# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ - /* Use EXIT_SUCCESS as a witness for stdlib.h. */ -# ifndef EXIT_SUCCESS -# define EXIT_SUCCESS 0 -# endif -# endif -# endif -# endif -# endif - -# ifdef YYSTACK_ALLOC - /* Pacify GCC's 'empty if-body' warning. */ -# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) -# ifndef YYSTACK_ALLOC_MAXIMUM - /* The OS might guarantee only one guard page at the bottom of the stack, - and a page size can be as small as 4096 bytes. So we cannot safely - invoke alloca (N) if N exceeds 4096. Use a slightly smaller number - to allow for a few compiler-allocated temporary stack slots. */ -# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */ -# endif -# else -# define YYSTACK_ALLOC YYMALLOC -# define YYSTACK_FREE YYFREE -# ifndef YYSTACK_ALLOC_MAXIMUM -# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM -# endif -# if (defined __cplusplus && ! defined EXIT_SUCCESS \ - && ! ((defined YYMALLOC || defined malloc) \ - && (defined YYFREE || defined free))) -# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ -# ifndef EXIT_SUCCESS -# define EXIT_SUCCESS 0 -# endif -# endif -# ifndef YYMALLOC -# define YYMALLOC malloc -# if ! defined malloc && ! defined EXIT_SUCCESS -void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ -# endif -# endif -# ifndef YYFREE -# define YYFREE free -# if ! defined free && ! defined EXIT_SUCCESS -void free (void *); /* INFRINGES ON USER NAME SPACE */ -# endif -# endif -# endif -#endif /* ! defined yyoverflow || YYERROR_VERBOSE */ - - -#if (! defined yyoverflow \ - && (! defined __cplusplus \ - || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) - -/* A type that is properly aligned for any stack member. */ -union yyalloc -{ - yytype_int16 yyss_alloc; - YYSTYPE yyvs_alloc; -}; - -/* The size of the maximum gap between one aligned stack and the next. */ -# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) - -/* The size of an array large to enough to hold all stacks, each with - N elements. */ -# define YYSTACK_BYTES(N) \ - ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ - + YYSTACK_GAP_MAXIMUM) - -# define YYCOPY_NEEDED 1 - -/* Relocate STACK from its old location to the new one. The - local variables YYSIZE and YYSTACKSIZE give the old and new number of - elements in the stack, and YYPTR gives the new location of the - stack. Advance YYPTR to a properly aligned location for the next - stack. */ -# define YYSTACK_RELOCATE(Stack_alloc, Stack) \ - do \ - { \ - YYSIZE_T yynewbytes; \ - YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ - Stack = &yyptr->Stack_alloc; \ - yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ - yyptr += yynewbytes / sizeof (*yyptr); \ - } \ - while (0) - -#endif - -#if defined YYCOPY_NEEDED && YYCOPY_NEEDED -/* Copy COUNT objects from SRC to DST. The source and destination do - not overlap. */ -# ifndef YYCOPY -# if defined __GNUC__ && 1 < __GNUC__ -# define YYCOPY(Dst, Src, Count) \ - __builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src))) -# else -# define YYCOPY(Dst, Src, Count) \ - do \ - { \ - YYSIZE_T yyi; \ - for (yyi = 0; yyi < (Count); yyi++) \ - (Dst)[yyi] = (Src)[yyi]; \ - } \ - while (0) -# endif -# endif -#endif /* !YYCOPY_NEEDED */ - -/* YYFINAL -- State number of the termination state. */ -#define YYFINAL 5 -/* YYLAST -- Last index in YYTABLE. */ -#define YYLAST 173 - -/* YYNTOKENS -- Number of terminals. */ -#define YYNTOKENS 40 -/* YYNNTS -- Number of nonterminals. */ -#define YYNNTS 36 -/* YYNRULES -- Number of rules. */ -#define YYNRULES 87 -/* YYNSTATES -- Number of states. */ -#define YYNSTATES 161 - -/* YYTRANSLATE[YYX] -- Symbol number corresponding to YYX as returned - by yylex, with out-of-bounds checking. */ -#define YYUNDEFTOK 2 -#define YYMAXUTOK 274 - -#define YYTRANSLATE(YYX) \ - ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) - -/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM - as returned by yylex, without out-of-bounds checking. */ -static const yytype_uint8 yytranslate[] = -{ - 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 39, 38, 2, 2, 2, - 34, 35, 22, 20, 29, 21, 32, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 23, - 30, 26, 31, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 24, 37, 25, 33, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 27, 36, 28, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, - 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, - 15, 16, 17, 18, 19 -}; - -#if YYDEBUG - /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */ -static const yytype_uint16 yyrline[] = -{ - 0, 62, 62, 72, 73, 79, 80, 84, 86, 90, - 91, 96, 95, 100, 102, 106, 108, 112, 114, 118, - 120, 124, 126, 130, 131, 135, 140, 142, 144, 146, - 148, 153, 155, 157, 159, 161, 163, 168, 170, 175, - 190, 191, 196, 198, 200, 195, 205, 207, 212, 213, - 218, 220, 226, 227, 233, 234, 239, 241, 245, 247, - 251, 258, 260, 262, 264, 266, 271, 276, 281, 286, - 291, 292, 294, 296, 298, 300, 303, 302, 309, 311, - 313, 315, 317, 320, 322, 324, 326, 328 -}; -#endif - -#if YYDEBUG || YYERROR_VERBOSE || 0 -/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. - First, the terminals, then, starting at YYNTOKENS, nonterminals. */ -static const char *const yytname[] = -{ - "$end", "error", "$undefined", "NUMBER", "ID", "STRING", "LEFTARROW", - "RIGHTARROW", "INPUT", "OUTPUT", "ALIASES", "STATES", "TABLES", - "EXPRESSIONS", "PUSH", "POP", "DIV", "MOD", "BEG", "END", "'+'", "'-'", - "'*'", "';'", "'['", "']'", "'='", "'{'", "'}'", "','", "'<'", "'>'", - "'.'", "'^'", "'('", "')'", "'|'", "'\\\\'", "'$'", "'#'", "$accept", - "File", "Input", "Output", "Tables", "MoreTables", "OneTable", "$@1", - "Numbers", "MoreNumbers", "States", "MoreStates", "Aliases", - "MoreAliases", "OneAlias", "OneCompleteLeft", "OneLeft", "ChoiceLeft", - "Expressions", "MoreExpressions", "OneExpr", "$@2", "$@3", "$@4", - "PushBack", "LeftState", "TotalLeft", "BegLeft", "EndLeft", "Left", - "Right", "OneRight", "RestRightExpr", "$@5", "OneRightExpr", - "RightState", YY_NULLPTR -}; -#endif - -# ifdef YYPRINT -/* YYTOKNUM[NUM] -- (External) token number corresponding to the - (internal) symbol number NUM (which must be that of a token). */ -static const yytype_uint16 yytoknum[] = -{ - 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, - 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, - 43, 45, 42, 59, 91, 93, 61, 123, 125, 44, - 60, 62, 46, 94, 40, 41, 124, 92, 36, 35 -}; -# endif - -#define YYPACT_NINF -97 - -#define yypact_value_is_default(Yystate) \ - (!!((Yystate) == (-97))) - -#define YYTABLE_NINF -40 - -#define yytable_value_is_error(Yytable_value) \ - 0 - - /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing - STATE-NUM. */ -static const yytype_int16 yypact[] = -{ - 0, 13, 18, 11, 34, -97, 69, 66, -97, 65, - 85, 79, -97, 67, 85, -97, 88, 83, 91, -97, - -97, 56, 92, 82, 72, -97, 94, 73, 92, -97, - 70, -97, -97, -97, 22, -97, 97, 17, -97, -97, - 76, 84, -97, 99, -97, 74, 41, 81, 77, 75, - -97, 93, 86, 106, 87, 41, -97, 47, -97, 107, - -97, -97, -97, 19, 109, -97, -97, 51, -97, 41, - -16, 110, -97, -97, -97, 19, -97, 90, 95, -97, - -97, 45, -97, -97, -97, -97, 96, 111, 89, -97, - -3, -97, -97, -97, -97, -97, 1, 8, 115, -97, - -97, -97, -17, -97, -97, 6, 3, -97, -97, 98, - 60, 101, -97, 49, -97, -97, 78, -97, -3, 46, - 100, 122, 123, 124, 105, 8, 8, 8, 8, 8, - -97, 112, 103, 126, 104, -97, -97, -7, 102, 108, - 6, -97, -97, -97, -97, -97, 128, -97, 113, -97, - 129, -97, -97, -97, 42, 114, -97, 116, -97, -97, - -97 -}; - - /* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM. - Performed when YYTABLE does not specify something else to do. Zero - means the default is an error. */ -static const yytype_uint8 yydefact[] = -{ - 3, 0, 0, 5, 0, 1, 0, 7, 4, 0, - 0, 17, 6, 0, 8, 9, 0, 21, 0, 10, - 19, 0, 0, 0, 0, 18, 0, 0, 22, 23, - 48, 2, 11, 20, 0, 24, 0, 48, 40, 42, - 0, 31, 26, 0, 33, 0, 0, 0, 30, 0, - 41, 52, 0, 0, 0, 0, 37, 0, 25, 0, - 49, 53, 43, 54, 13, 32, 36, 0, 35, 0, - 0, 0, 55, 56, 51, 54, 15, 0, 14, 34, - 38, 0, 29, 58, 57, 50, 0, 0, 0, 28, - 44, 12, 16, 27, 61, 60, 0, 0, 46, 59, - 62, 65, 0, 63, 78, 0, 0, 69, 58, 83, - 0, 0, 76, 0, 70, 79, 0, 80, 47, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 82, 0, 0, 0, 0, 84, 45, 0, 0, 0, - 0, 74, 75, 71, 72, 73, 0, 85, 0, 87, - 0, 66, 67, 64, 0, 0, 86, 0, 77, 81, - 68 -}; - - /* YYPGOTO[NTERM-NUM]. */ -static const yytype_int8 yypgoto[] = -{ - -97, -97, -97, -97, -97, -97, 125, -97, -97, -97, - -97, -97, -97, -97, 117, -56, -43, 118, -97, -97, - 119, -97, -97, -97, -97, -97, -97, -97, 61, -97, - 30, -97, 2, -97, -96, -97 -}; - - /* YYDEFGOTO[NTERM-NUM]. */ -static const yytype_int8 yydefgoto[] = -{ - -1, 2, 3, 7, 11, 14, 15, 40, 77, 78, - 17, 21, 23, 28, 29, 47, 48, 57, 31, 37, - 38, 51, 71, 98, 109, 39, 62, 63, 74, 75, - 90, 99, 113, 124, 114, 120 -}; - - /* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If - positive, shift that token. If negative, reduce the rule whose - number is the opposite. If YYTABLE_NINF, syntax error. */ -static const yytype_int16 yytable[] = -{ - 94, 107, 95, 56, 100, 110, 115, 73, 1, 104, - 112, 104, 56, 81, 150, 82, 4, -39, 5, 84, - 6, 111, 41, 101, 42, 41, 80, 42, 151, 141, - 142, 143, 144, 145, 96, 102, 97, 116, 72, 103, - 105, 117, 105, 106, 41, 106, 43, 36, 88, 43, - 132, 44, 45, 46, 44, 45, 46, 8, 125, 126, - 133, 134, 127, 128, 129, 125, 126, 158, 43, 127, - 128, 129, 9, 44, 45, 46, 89, 135, 10, 25, - 121, 122, 68, 69, 130, 26, 79, 69, 12, 13, - 16, 18, 20, 22, 24, 30, 27, 32, 33, 34, - 36, 49, 52, 54, 58, 53, 60, 59, 55, 65, - 70, 61, 76, 64, 92, 66, 131, 83, 86, 91, - 93, 108, 123, 136, 87, 137, 138, 139, 119, 140, - 148, 155, 157, 146, 147, 149, 85, 152, 118, 19, - 0, 0, 154, 153, 156, 35, 0, 0, 0, 159, - 0, 160, 0, 0, 0, 0, 50, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 67 -}; - -static const yytype_int16 yycheck[] = -{ - 3, 97, 5, 46, 3, 22, 3, 63, 8, 3, - 4, 3, 55, 29, 21, 31, 3, 0, 0, 75, - 9, 38, 3, 22, 5, 3, 69, 5, 35, 125, - 126, 127, 128, 129, 37, 34, 39, 34, 19, 38, - 34, 38, 34, 37, 3, 37, 27, 30, 3, 27, - 4, 32, 33, 34, 32, 33, 34, 23, 16, 17, - 14, 15, 20, 21, 22, 16, 17, 25, 27, 20, - 21, 22, 3, 32, 33, 34, 31, 31, 12, 23, - 20, 21, 35, 36, 35, 29, 35, 36, 23, 4, - 11, 24, 4, 10, 3, 13, 4, 25, 4, 26, - 30, 4, 26, 4, 23, 21, 31, 30, 34, 3, - 3, 18, 3, 27, 3, 28, 38, 7, 28, 23, - 31, 6, 21, 23, 29, 3, 3, 3, 30, 24, - 4, 3, 3, 21, 31, 31, 75, 35, 108, 14, - -1, -1, 140, 35, 31, 28, -1, -1, -1, 35, - -1, 35, -1, -1, -1, -1, 37, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 55 -}; - - /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing - symbol of state STATE-NUM. */ -static const yytype_uint8 yystos[] = -{ - 0, 8, 41, 42, 3, 0, 9, 43, 23, 3, - 12, 44, 23, 4, 45, 46, 11, 50, 24, 46, - 4, 51, 10, 52, 3, 23, 29, 4, 53, 54, - 13, 58, 25, 4, 26, 54, 30, 59, 60, 65, - 47, 3, 5, 27, 32, 33, 34, 55, 56, 4, - 60, 61, 26, 21, 4, 34, 56, 57, 23, 30, - 31, 18, 66, 67, 27, 3, 28, 57, 35, 36, - 3, 62, 19, 55, 68, 69, 3, 48, 49, 35, - 56, 29, 31, 7, 55, 68, 28, 29, 3, 31, - 70, 23, 3, 31, 3, 5, 37, 39, 63, 71, - 3, 22, 34, 38, 3, 34, 37, 74, 6, 64, - 22, 38, 4, 72, 74, 3, 34, 38, 70, 30, - 75, 20, 21, 21, 73, 16, 17, 20, 21, 22, - 35, 38, 4, 14, 15, 31, 23, 3, 3, 3, - 24, 74, 74, 74, 74, 74, 21, 31, 4, 31, - 21, 35, 35, 35, 72, 3, 31, 3, 25, 35, - 35 -}; - - /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ -static const yytype_uint8 yyr1[] = -{ - 0, 40, 41, 42, 42, 43, 43, 44, 44, 45, - 45, 47, 46, 48, 48, 49, 49, 50, 50, 51, - 51, 52, 52, 53, 53, 54, 55, 55, 55, 55, - 55, 56, 56, 56, 56, 56, 56, 57, 57, 58, - 59, 59, 61, 62, 63, 60, 64, 64, 65, 65, - 66, 66, 67, 67, 68, 68, 69, 69, 70, 70, - 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, - 72, 72, 72, 72, 72, 72, 73, 72, 74, 74, - 74, 74, 74, 75, 75, 75, 75, 75 -}; - - /* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */ -static const yytype_uint8 yyr2[] = -{ - 0, 2, 6, 0, 3, 0, 3, 0, 2, 1, - 2, 0, 10, 0, 1, 1, 3, 0, 3, 1, - 3, 0, 2, 1, 2, 4, 1, 6, 5, 4, - 1, 1, 3, 1, 4, 3, 3, 1, 3, 2, - 1, 2, 0, 0, 0, 10, 0, 2, 0, 3, - 3, 2, 0, 1, 0, 1, 1, 2, 0, 2, - 1, 1, 2, 2, 6, 2, 6, 6, 8, 2, - 1, 3, 3, 3, 3, 3, 0, 5, 1, 2, - 2, 6, 3, 0, 2, 3, 4, 3 -}; - - -#define yyerrok (yyerrstatus = 0) -#define yyclearin (yychar = YYEMPTY) -#define YYEMPTY (-2) -#define YYEOF 0 - -#define YYACCEPT goto yyacceptlab -#define YYABORT goto yyabortlab -#define YYERROR goto yyerrorlab - - -#define YYRECOVERING() (!!yyerrstatus) - -#define YYBACKUP(Token, Value) \ -do \ - if (yychar == YYEMPTY) \ - { \ - yychar = (Token); \ - yylval = (Value); \ - YYPOPSTACK (yylen); \ - yystate = *yyssp; \ - goto yybackup; \ - } \ - else \ - { \ - yyerror (YY_("syntax error: cannot back up")); \ - YYERROR; \ - } \ -while (0) - -/* Error token number */ -#define YYTERROR 1 -#define YYERRCODE 256 - - - -/* Enable debugging if requested. */ -#if YYDEBUG - -# ifndef YYFPRINTF -# include <stdio.h> /* INFRINGES ON USER NAME SPACE */ -# define YYFPRINTF fprintf -# endif - -# define YYDPRINTF(Args) \ -do { \ - if (yydebug) \ - YYFPRINTF Args; \ -} while (0) - -/* This macro is provided for backward compatibility. */ -#ifndef YY_LOCATION_PRINT -# define YY_LOCATION_PRINT(File, Loc) ((void) 0) -#endif - - -# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ -do { \ - if (yydebug) \ - { \ - YYFPRINTF (stderr, "%s ", Title); \ - yy_symbol_print (stderr, \ - Type, Value); \ - YYFPRINTF (stderr, "\n"); \ - } \ -} while (0) - - -/*----------------------------------------. -| Print this symbol's value on YYOUTPUT. | -`----------------------------------------*/ - -static void -yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) -{ - FILE *yyo = yyoutput; - YYUSE (yyo); - if (!yyvaluep) - return; -# ifdef YYPRINT - if (yytype < YYNTOKENS) - YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); -# endif - YYUSE (yytype); -} - - -/*--------------------------------. -| Print this symbol on YYOUTPUT. | -`--------------------------------*/ - -static void -yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) -{ - YYFPRINTF (yyoutput, "%s %s (", - yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]); - - yy_symbol_value_print (yyoutput, yytype, yyvaluep); - YYFPRINTF (yyoutput, ")"); -} - -/*------------------------------------------------------------------. -| yy_stack_print -- Print the state stack from its BOTTOM up to its | -| TOP (included). | -`------------------------------------------------------------------*/ - -static void -yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop) -{ - YYFPRINTF (stderr, "Stack now"); - for (; yybottom <= yytop; yybottom++) - { - int yybot = *yybottom; - YYFPRINTF (stderr, " %d", yybot); - } - YYFPRINTF (stderr, "\n"); -} - -# define YY_STACK_PRINT(Bottom, Top) \ -do { \ - if (yydebug) \ - yy_stack_print ((Bottom), (Top)); \ -} while (0) - - -/*------------------------------------------------. -| Report that the YYRULE is going to be reduced. | -`------------------------------------------------*/ - -static void -yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule) -{ - unsigned long int yylno = yyrline[yyrule]; - int yynrhs = yyr2[yyrule]; - int yyi; - YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", - yyrule - 1, yylno); - /* The symbols being reduced. */ - for (yyi = 0; yyi < yynrhs; yyi++) - { - YYFPRINTF (stderr, " $%d = ", yyi + 1); - yy_symbol_print (stderr, - yystos[yyssp[yyi + 1 - yynrhs]], - &(yyvsp[(yyi + 1) - (yynrhs)]) - ); - YYFPRINTF (stderr, "\n"); - } -} - -# define YY_REDUCE_PRINT(Rule) \ -do { \ - if (yydebug) \ - yy_reduce_print (yyssp, yyvsp, Rule); \ -} while (0) - -/* Nonzero means print parse trace. It is left uninitialized so that - multiple parsers can coexist. */ -int yydebug; -#else /* !YYDEBUG */ -# define YYDPRINTF(Args) -# define YY_SYMBOL_PRINT(Title, Type, Value, Location) -# define YY_STACK_PRINT(Bottom, Top) -# define YY_REDUCE_PRINT(Rule) -#endif /* !YYDEBUG */ - - -/* YYINITDEPTH -- initial size of the parser's stacks. */ -#ifndef YYINITDEPTH -# define YYINITDEPTH 200 -#endif - -/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only - if the built-in stack extension method is used). - - Do not make this value too large; the results are undefined if - YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH) - evaluated with infinite-precision integer arithmetic. */ - -#ifndef YYMAXDEPTH -# define YYMAXDEPTH 10000 -#endif - - -#if YYERROR_VERBOSE - -# ifndef yystrlen -# if defined __GLIBC__ && defined _STRING_H -# define yystrlen strlen -# else -/* Return the length of YYSTR. */ -static YYSIZE_T -yystrlen (const char *yystr) -{ - YYSIZE_T yylen; - for (yylen = 0; yystr[yylen]; yylen++) - continue; - return yylen; -} -# endif -# endif - -# ifndef yystpcpy -# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE -# define yystpcpy stpcpy -# else -/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in - YYDEST. */ -static char * -yystpcpy (char *yydest, const char *yysrc) -{ - char *yyd = yydest; - const char *yys = yysrc; - - while ((*yyd++ = *yys++) != '\0') - continue; - - return yyd - 1; -} -# endif -# endif - -# ifndef yytnamerr -/* Copy to YYRES the contents of YYSTR after stripping away unnecessary - quotes and backslashes, so that it's suitable for yyerror. The - heuristic is that double-quoting is unnecessary unless the string - contains an apostrophe, a comma, or backslash (other than - backslash-backslash). YYSTR is taken from yytname. If YYRES is - null, do not copy; instead, return the length of what the result - would have been. */ -static YYSIZE_T -yytnamerr (char *yyres, const char *yystr) -{ - if (*yystr == '"') - { - YYSIZE_T yyn = 0; - char const *yyp = yystr; - - for (;;) - switch (*++yyp) - { - case '\'': - case ',': - goto do_not_strip_quotes; - - case '\\': - if (*++yyp != '\\') - goto do_not_strip_quotes; - /* Fall through. */ - default: - if (yyres) - yyres[yyn] = *yyp; - yyn++; - break; - - case '"': - if (yyres) - yyres[yyn] = '\0'; - return yyn; - } - do_not_strip_quotes: ; - } - - if (! yyres) - return yystrlen (yystr); - - return yystpcpy (yyres, yystr) - yyres; -} -# endif - -/* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message - about the unexpected token YYTOKEN for the state stack whose top is - YYSSP. - - Return 0 if *YYMSG was successfully written. Return 1 if *YYMSG is - not large enough to hold the message. In that case, also set - *YYMSG_ALLOC to the required number of bytes. Return 2 if the - required number of bytes is too large to store. */ -static int -yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, - yytype_int16 *yyssp, int yytoken) -{ - YYSIZE_T yysize0 = yytnamerr (YY_NULLPTR, yytname[yytoken]); - YYSIZE_T yysize = yysize0; - enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; - /* Internationalized format string. */ - const char *yyformat = YY_NULLPTR; - /* Arguments of yyformat. */ - char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; - /* Number of reported tokens (one for the "unexpected", one per - "expected"). */ - int yycount = 0; - - /* There are many possibilities here to consider: - - If this state is a consistent state with a default action, then - the only way this function was invoked is if the default action - is an error action. In that case, don't check for expected - tokens because there are none. - - The only way there can be no lookahead present (in yychar) is if - this state is a consistent state with a default action. Thus, - detecting the absence of a lookahead is sufficient to determine - that there is no unexpected or expected token to report. In that - case, just report a simple "syntax error". - - Don't assume there isn't a lookahead just because this state is a - consistent state with a default action. There might have been a - previous inconsistent state, consistent state with a non-default - action, or user semantic action that manipulated yychar. - - Of course, the expected token list depends on states to have - correct lookahead information, and it depends on the parser not - to perform extra reductions after fetching a lookahead from the - scanner and before detecting a syntax error. Thus, state merging - (from LALR or IELR) and default reductions corrupt the expected - token list. However, the list is correct for canonical LR with - one exception: it will still contain any token that will not be - accepted due to an error action in a later state. - */ - if (yytoken != YYEMPTY) - { - int yyn = yypact[*yyssp]; - yyarg[yycount++] = yytname[yytoken]; - if (!yypact_value_is_default (yyn)) - { - /* Start YYX at -YYN if negative to avoid negative indexes in - YYCHECK. In other words, skip the first -YYN actions for - this state because they are default actions. */ - int yyxbegin = yyn < 0 ? -yyn : 0; - /* Stay within bounds of both yycheck and yytname. */ - int yychecklim = YYLAST - yyn + 1; - int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; - int yyx; - - for (yyx = yyxbegin; yyx < yyxend; ++yyx) - if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR - && !yytable_value_is_error (yytable[yyx + yyn])) - { - if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) - { - yycount = 1; - yysize = yysize0; - break; - } - yyarg[yycount++] = yytname[yyx]; - { - YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULLPTR, yytname[yyx]); - if (! (yysize <= yysize1 - && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) - return 2; - yysize = yysize1; - } - } - } - } - - switch (yycount) - { -# define YYCASE_(N, S) \ - case N: \ - yyformat = S; \ - break - YYCASE_(0, YY_("syntax error")); - YYCASE_(1, YY_("syntax error, unexpected %s")); - YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s")); - YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s")); - YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s")); - YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s")); -# undef YYCASE_ - } - - { - YYSIZE_T yysize1 = yysize + yystrlen (yyformat); - if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) - return 2; - yysize = yysize1; - } - - if (*yymsg_alloc < yysize) - { - *yymsg_alloc = 2 * yysize; - if (! (yysize <= *yymsg_alloc - && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM)) - *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM; - return 1; - } - - /* Avoid sprintf, as that infringes on the user's name space. - Don't have undefined behavior even if the translation - produced a string with the wrong number of "%s"s. */ - { - char *yyp = *yymsg; - int yyi = 0; - while ((*yyp = *yyformat) != '\0') - if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount) - { - yyp += yytnamerr (yyp, yyarg[yyi++]); - yyformat += 2; - } - else - { - yyp++; - yyformat++; - } - } - return 0; -} -#endif /* YYERROR_VERBOSE */ - -/*-----------------------------------------------. -| Release the memory associated to this symbol. | -`-----------------------------------------------*/ - -static void -yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) -{ - YYUSE (yyvaluep); - if (!yymsg) - yymsg = "Deleting"; - YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp); - - YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN - YYUSE (yytype); - YY_IGNORE_MAYBE_UNINITIALIZED_END -} - - - - -/* The lookahead symbol. */ -int yychar; - -/* The semantic value of the lookahead symbol. */ -YYSTYPE yylval; -/* Number of syntax errors so far. */ -int yynerrs; - - -/*----------. -| yyparse. | -`----------*/ - -int -yyparse (void) -{ - int yystate; - /* Number of tokens to shift before error messages enabled. */ - int yyerrstatus; - - /* The stacks and their tools: - 'yyss': related to states. - 'yyvs': related to semantic values. - - Refer to the stacks through separate pointers, to allow yyoverflow - to reallocate them elsewhere. */ - - /* The state stack. */ - yytype_int16 yyssa[YYINITDEPTH]; - yytype_int16 *yyss; - yytype_int16 *yyssp; - - /* The semantic value stack. */ - YYSTYPE yyvsa[YYINITDEPTH]; - YYSTYPE *yyvs; - YYSTYPE *yyvsp; - - YYSIZE_T yystacksize; - - int yyn; - int yyresult; - /* Lookahead token as an internal (translated) token number. */ - int yytoken = 0; - /* The variables used to return semantic value and location from the - action routines. */ - YYSTYPE yyval; - -#if YYERROR_VERBOSE - /* Buffer for error messages, and its allocated size. */ - char yymsgbuf[128]; - char *yymsg = yymsgbuf; - YYSIZE_T yymsg_alloc = sizeof yymsgbuf; -#endif - -#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) - - /* The number of symbols on the RHS of the reduced rule. - Keep to zero when no symbol should be popped. */ - int yylen = 0; - - yyssp = yyss = yyssa; - yyvsp = yyvs = yyvsa; - yystacksize = YYINITDEPTH; - - YYDPRINTF ((stderr, "Starting parse\n")); - - yystate = 0; - yyerrstatus = 0; - yynerrs = 0; - yychar = YYEMPTY; /* Cause a token to be read. */ - goto yysetstate; - -/*------------------------------------------------------------. -| yynewstate -- Push a new state, which is found in yystate. | -`------------------------------------------------------------*/ - yynewstate: - /* In all cases, when you get here, the value and location stacks - have just been pushed. So pushing a state here evens the stacks. */ - yyssp++; - - yysetstate: - *yyssp = yystate; - - if (yyss + yystacksize - 1 <= yyssp) - { - /* Get the current used size of the three stacks, in elements. */ - YYSIZE_T yysize = yyssp - yyss + 1; - -#ifdef yyoverflow - { - /* Give user a chance to reallocate the stack. Use copies of - these so that the &'s don't force the real ones into - memory. */ - YYSTYPE *yyvs1 = yyvs; - yytype_int16 *yyss1 = yyss; - - /* Each stack pointer address is followed by the size of the - data in use in that stack, in bytes. This used to be a - conditional around just the two extra args, but that might - be undefined if yyoverflow is a macro. */ - yyoverflow (YY_("memory exhausted"), - &yyss1, yysize * sizeof (*yyssp), - &yyvs1, yysize * sizeof (*yyvsp), - &yystacksize); - - yyss = yyss1; - yyvs = yyvs1; - } -#else /* no yyoverflow */ -# ifndef YYSTACK_RELOCATE - goto yyexhaustedlab; -# else - /* Extend the stack our own way. */ - if (YYMAXDEPTH <= yystacksize) - goto yyexhaustedlab; - yystacksize *= 2; - if (YYMAXDEPTH < yystacksize) - yystacksize = YYMAXDEPTH; - - { - yytype_int16 *yyss1 = yyss; - union yyalloc *yyptr = - (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); - if (! yyptr) - goto yyexhaustedlab; - YYSTACK_RELOCATE (yyss_alloc, yyss); - YYSTACK_RELOCATE (yyvs_alloc, yyvs); -# undef YYSTACK_RELOCATE - if (yyss1 != yyssa) - YYSTACK_FREE (yyss1); - } -# endif -#endif /* no yyoverflow */ - - yyssp = yyss + yysize - 1; - yyvsp = yyvs + yysize - 1; - - YYDPRINTF ((stderr, "Stack size increased to %lu\n", - (unsigned long int) yystacksize)); - - if (yyss + yystacksize - 1 <= yyssp) - YYABORT; - } - - YYDPRINTF ((stderr, "Entering state %d\n", yystate)); - - if (yystate == YYFINAL) - YYACCEPT; - - goto yybackup; - -/*-----------. -| yybackup. | -`-----------*/ -yybackup: - - /* Do appropriate processing given the current state. Read a - lookahead token if we need one and don't already have one. */ - - /* First try to decide what to do without reference to lookahead token. */ - yyn = yypact[yystate]; - if (yypact_value_is_default (yyn)) - goto yydefault; - - /* Not known => get a lookahead token if don't already have one. */ - - /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */ - if (yychar == YYEMPTY) - { - YYDPRINTF ((stderr, "Reading a token: ")); - yychar = yylex (); - } - - if (yychar <= YYEOF) - { - yychar = yytoken = YYEOF; - YYDPRINTF ((stderr, "Now at end of input.\n")); - } - else - { - yytoken = YYTRANSLATE (yychar); - YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); - } - - /* If the proper action on seeing token YYTOKEN is to reduce or to - detect an error, take that action. */ - yyn += yytoken; - if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) - goto yydefault; - yyn = yytable[yyn]; - if (yyn <= 0) - { - if (yytable_value_is_error (yyn)) - goto yyerrlab; - yyn = -yyn; - goto yyreduce; - } - - /* Count tokens shifted since error; after three, turn off error - status. */ - if (yyerrstatus) - yyerrstatus--; - - /* Shift the lookahead token. */ - YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); - - /* Discard the shifted token. */ - yychar = YYEMPTY; - - yystate = yyn; - YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN - *++yyvsp = yylval; - YY_IGNORE_MAYBE_UNINITIALIZED_END - - goto yynewstate; - - -/*-----------------------------------------------------------. -| yydefault -- do the default action for the current state. | -`-----------------------------------------------------------*/ -yydefault: - yyn = yydefact[yystate]; - if (yyn == 0) - goto yyerrlab; - goto yyreduce; - - -/*-----------------------------. -| yyreduce -- Do a reduction. | -`-----------------------------*/ -yyreduce: - /* yyn is the number of a rule to reduce with. */ - yylen = yyr2[yyn]; - - /* If YYLEN is nonzero, implement the default value of the action: - '$$ = $1'. - - Otherwise, the following line sets YYVAL to garbage. - This behavior is undocumented and Bison - users should not rely upon it. Assigning to YYVAL - unconditionally makes the parser a bit smaller, and it avoids a - GCC warning that YYVAL may be used uninitialized. */ - yyval = yyvsp[1-yylen]; - - - YY_REDUCE_PRINT (yyn); - switch (yyn) - { - case 3: -#line 72 "otp-parser.y" /* yacc.c:1646 */ - { input_bytes=2; } -#line 1360 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 4: -#line 74 "otp-parser.y" /* yacc.c:1646 */ - { input_bytes=(yyvsp[-1]).yint; } -#line 1366 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 5: -#line 79 "otp-parser.y" /* yacc.c:1646 */ - { output_bytes=2; } -#line 1372 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 6: -#line 81 "otp-parser.y" /* yacc.c:1646 */ - { output_bytes=(yyvsp[-1]).yint; } -#line 1378 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 11: -#line 96 "otp-parser.y" /* yacc.c:1646 */ - { store_table((yyvsp[-3]).ystring, (yyvsp[-1]).yint); } -#line 1384 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 15: -#line 107 "otp-parser.y" /* yacc.c:1646 */ - { add_to_table((yyvsp[0]).yint); } -#line 1390 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 16: -#line 109 "otp-parser.y" /* yacc.c:1646 */ - { add_to_table((yyvsp[0]).yint); } -#line 1396 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 19: -#line 119 "otp-parser.y" /* yacc.c:1646 */ - { store_state((yyvsp[0]).ystring); } -#line 1402 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 20: -#line 121 "otp-parser.y" /* yacc.c:1646 */ - { store_state((yyvsp[0]).ystring); } -#line 1408 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 25: -#line 136 "otp-parser.y" /* yacc.c:1646 */ - { store_alias((yyvsp[-3]).ystring, (yyvsp[-1]).yleft); } -#line 1414 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 26: -#line 141 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).yleft = StringLeft((yyvsp[0]).ystring); } -#line 1420 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 27: -#line 143 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).yleft = CompleteLeft((yyvsp[-5]).yleft, (yyvsp[-3]).yint, (yyvsp[-1]).yint); } -#line 1426 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 28: -#line 145 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).yleft = PlusLeft((yyvsp[-4]).yleft, (yyvsp[-2]).yint); } -#line 1432 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 29: -#line 147 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).yleft = CompleteLeft((yyvsp[-3]).yleft, (yyvsp[-1]).yint, (yyvsp[-1]).yint); } -#line 1438 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 30: -#line 149 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).yleft = (yyvsp[0]).yleft; } -#line 1444 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 31: -#line 154 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).yleft = SingleLeft((yyvsp[0]).yint); } -#line 1450 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 32: -#line 156 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).yleft = DoubleLeft((yyvsp[-2]).yint, (yyvsp[0]).yint); } -#line 1456 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 33: -#line 158 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).yleft = WildCard(); } -#line 1462 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 34: -#line 160 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).yleft = NotChoiceLeft((yyvsp[-1]).ylleft); } -#line 1468 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 35: -#line 162 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).yleft = ChoiceLeft((yyvsp[-1]).ylleft); } -#line 1474 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 36: -#line 164 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).yleft = lookup_alias((yyvsp[-1]).ystring); } -#line 1480 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 37: -#line 169 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).ylleft = llist1((yyvsp[0]).yleft); } -#line 1486 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 38: -#line 171 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).ylleft = lappend1((yyvsp[-2]).ylleft, (yyvsp[0]).yleft); } -#line 1492 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 39: -#line 176 "otp-parser.y" /* yacc.c:1646 */ - { - for(cur_state=0; cur_state<no_states; cur_state++) { - if ((states[cur_state].no_exprs)==0) { - out_int(OTP_LEFT_START, 0); - } else { - out_int(OTP_LEFT_RETURN, 0); - } - out_int(OTP_RIGHT_CHAR, 1); - out_int(OTP_STOP, 0); - } - } -#line 1508 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 42: -#line 196 "otp-parser.y" /* yacc.c:1646 */ - { states[cur_state].no_exprs++; } -#line 1514 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 43: -#line 198 "otp-parser.y" /* yacc.c:1646 */ - { out_left((yyvsp[0]).ylleft); right_offset=0; } -#line 1520 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 44: -#line 200 "otp-parser.y" /* yacc.c:1646 */ - { right_offset=OTP_PBACK_OFFSET; } -#line 1526 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 45: -#line 202 "otp-parser.y" /* yacc.c:1646 */ - { fill_in_left(); } -#line 1532 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 48: -#line 212 "otp-parser.y" /* yacc.c:1646 */ - { cur_state = 0; } -#line 1538 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 49: -#line 214 "otp-parser.y" /* yacc.c:1646 */ - { cur_state = lookup_state((yyvsp[-1]).ystring); } -#line 1544 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 50: -#line 219 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).ylleft = lappend((yyvsp[-2]).ylleft, lappend((yyvsp[-1]).ylleft, (yyvsp[0]).ylleft)); } -#line 1550 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 51: -#line 221 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).ylleft = lappend((yyvsp[-1]).ylleft, (yyvsp[0]).ylleft); } -#line 1556 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 52: -#line 226 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).ylleft = nil; } -#line 1562 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 53: -#line 228 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).ylleft = llist1(BeginningLeft()); } -#line 1568 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 54: -#line 233 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).ylleft = nil; } -#line 1574 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 55: -#line 235 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).ylleft = llist1(EndLeft()); } -#line 1580 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 56: -#line 240 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).ylleft = llist1((yyvsp[0]).yleft); } -#line 1586 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 57: -#line 242 "otp-parser.y" /* yacc.c:1646 */ - { (yyval).ylleft = lappend1((yyvsp[-1]).ylleft, (yyvsp[0]).yleft); } -#line 1592 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 60: -#line 252 "otp-parser.y" /* yacc.c:1646 */ - { - len=strlen((yyvsp[0]).ystring); - for (k=0; k<len; k++) { - out_right(OTP_RIGHT_NUM, ((yyvsp[0]).ystring)[k]); - } - } -#line 1603 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 61: -#line 259 "otp-parser.y" /* yacc.c:1646 */ - { out_right(OTP_RIGHT_NUM, (yyvsp[0]).yint); } -#line 1609 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 62: -#line 261 "otp-parser.y" /* yacc.c:1646 */ - { out_right(OTP_RIGHT_CHAR, (yyvsp[0]).yint); } -#line 1615 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 63: -#line 263 "otp-parser.y" /* yacc.c:1646 */ - { out_right(OTP_RIGHT_LCHAR, 0); } -#line 1621 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 64: -#line 265 "otp-parser.y" /* yacc.c:1646 */ - { out_right(OTP_RIGHT_LCHAR, (yyvsp[-1]).yint); } -#line 1627 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 65: -#line 267 "otp-parser.y" /* yacc.c:1646 */ - { - out_right(OTP_RIGHT_SOME, 0); - out_int(0,0); - } -#line 1636 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 66: -#line 272 "otp-parser.y" /* yacc.c:1646 */ - { - out_right(OTP_RIGHT_SOME, (yyvsp[-1]).yint); - out_int(0, 0); - } -#line 1645 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 67: -#line 277 "otp-parser.y" /* yacc.c:1646 */ - { - out_right(OTP_RIGHT_SOME, 0); - out_int(0, (yyvsp[-1]).yint); - } -#line 1654 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 68: -#line 282 "otp-parser.y" /* yacc.c:1646 */ - { - out_right(OTP_RIGHT_SOME, (yyvsp[-3]).yint); - out_int(0, (yyvsp[-1]).yint); - } -#line 1663 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 69: -#line 287 "otp-parser.y" /* yacc.c:1646 */ - { out_right(OTP_RIGHT_OUTPUT, 0); } -#line 1669 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 71: -#line 293 "otp-parser.y" /* yacc.c:1646 */ - { out_int(OTP_ADD, 0); } -#line 1675 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 72: -#line 295 "otp-parser.y" /* yacc.c:1646 */ - { out_int(OTP_SUB, 0); } -#line 1681 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 73: -#line 297 "otp-parser.y" /* yacc.c:1646 */ - { out_int(OTP_MULT, 0); } -#line 1687 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 74: -#line 299 "otp-parser.y" /* yacc.c:1646 */ - { out_int(OTP_DIV, 0); } -#line 1693 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 75: -#line 301 "otp-parser.y" /* yacc.c:1646 */ - { out_int(OTP_MOD, 0); } -#line 1699 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 76: -#line 303 "otp-parser.y" /* yacc.c:1646 */ - { out_int(OTP_PUSH_NUM, lookup_table((yyvsp[0]).ystring)); } -#line 1705 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 77: -#line 305 "otp-parser.y" /* yacc.c:1646 */ - { out_int(OTP_LOOKUP, 0); } -#line 1711 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 78: -#line 310 "otp-parser.y" /* yacc.c:1646 */ - { out_int(OTP_PUSH_NUM, (yyvsp[0]).yint); } -#line 1717 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 79: -#line 312 "otp-parser.y" /* yacc.c:1646 */ - { out_int(OTP_PUSH_CHAR, (yyvsp[0]).yint); } -#line 1723 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 80: -#line 314 "otp-parser.y" /* yacc.c:1646 */ - { out_int(OTP_PUSH_LCHAR, 0); } -#line 1729 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 81: -#line 316 "otp-parser.y" /* yacc.c:1646 */ - { out_int(OTP_PUSH_LCHAR, (yyvsp[-1]).yint); } -#line 1735 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 84: -#line 323 "otp-parser.y" /* yacc.c:1646 */ - { out_int(OTP_STATE_CHANGE, 0); } -#line 1741 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 85: -#line 325 "otp-parser.y" /* yacc.c:1646 */ - { out_int(OTP_STATE_CHANGE, lookup_state((yyvsp[-1]).ystring)); } -#line 1747 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 86: -#line 327 "otp-parser.y" /* yacc.c:1646 */ - { out_int(OTP_STATE_PUSH, lookup_state((yyvsp[-1]).ystring)); } -#line 1753 "otp-parser.c" /* yacc.c:1646 */ - break; - - case 87: -#line 329 "otp-parser.y" /* yacc.c:1646 */ - { out_int(OTP_STATE_POP, 0); } -#line 1759 "otp-parser.c" /* yacc.c:1646 */ - break; - - -#line 1763 "otp-parser.c" /* yacc.c:1646 */ - default: break; - } - /* User semantic actions sometimes alter yychar, and that requires - that yytoken be updated with the new translation. We take the - approach of translating immediately before every use of yytoken. - One alternative is translating here after every semantic action, - but that translation would be missed if the semantic action invokes - YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or - if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an - incorrect destructor might then be invoked immediately. In the - case of YYERROR or YYBACKUP, subsequent parser actions might lead - to an incorrect destructor call or verbose syntax error message - before the lookahead is translated. */ - YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); - - YYPOPSTACK (yylen); - yylen = 0; - YY_STACK_PRINT (yyss, yyssp); - - *++yyvsp = yyval; - - /* Now 'shift' the result of the reduction. Determine what state - that goes to, based on the state we popped back to and the rule - number reduced by. */ - - yyn = yyr1[yyn]; - - yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; - if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) - yystate = yytable[yystate]; - else - yystate = yydefgoto[yyn - YYNTOKENS]; - - goto yynewstate; - - -/*--------------------------------------. -| yyerrlab -- here on detecting error. | -`--------------------------------------*/ -yyerrlab: - /* Make sure we have latest lookahead translation. See comments at - user semantic actions for why this is necessary. */ - yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar); - - /* If not already recovering from an error, report this error. */ - if (!yyerrstatus) - { - ++yynerrs; -#if ! YYERROR_VERBOSE - yyerror (YY_("syntax error")); -#else -# define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \ - yyssp, yytoken) - { - char const *yymsgp = YY_("syntax error"); - int yysyntax_error_status; - yysyntax_error_status = YYSYNTAX_ERROR; - if (yysyntax_error_status == 0) - yymsgp = yymsg; - else if (yysyntax_error_status == 1) - { - if (yymsg != yymsgbuf) - YYSTACK_FREE (yymsg); - yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc); - if (!yymsg) - { - yymsg = yymsgbuf; - yymsg_alloc = sizeof yymsgbuf; - yysyntax_error_status = 2; - } - else - { - yysyntax_error_status = YYSYNTAX_ERROR; - yymsgp = yymsg; - } - } - yyerror (yymsgp); - if (yysyntax_error_status == 2) - goto yyexhaustedlab; - } -# undef YYSYNTAX_ERROR -#endif - } - - - - if (yyerrstatus == 3) - { - /* If just tried and failed to reuse lookahead token after an - error, discard it. */ - - if (yychar <= YYEOF) - { - /* Return failure if at end of input. */ - if (yychar == YYEOF) - YYABORT; - } - else - { - yydestruct ("Error: discarding", - yytoken, &yylval); - yychar = YYEMPTY; - } - } - - /* Else will try to reuse lookahead token after shifting the error - token. */ - goto yyerrlab1; - - -/*---------------------------------------------------. -| yyerrorlab -- error raised explicitly by YYERROR. | -`---------------------------------------------------*/ -yyerrorlab: - - /* Pacify compilers like GCC when the user code never invokes - YYERROR and the label yyerrorlab therefore never appears in user - code. */ - if (/*CONSTCOND*/ 0) - goto yyerrorlab; - - /* Do not reclaim the symbols of the rule whose action triggered - this YYERROR. */ - YYPOPSTACK (yylen); - yylen = 0; - YY_STACK_PRINT (yyss, yyssp); - yystate = *yyssp; - goto yyerrlab1; - - -/*-------------------------------------------------------------. -| yyerrlab1 -- common code for both syntax error and YYERROR. | -`-------------------------------------------------------------*/ -yyerrlab1: - yyerrstatus = 3; /* Each real token shifted decrements this. */ - - for (;;) - { - yyn = yypact[yystate]; - if (!yypact_value_is_default (yyn)) - { - yyn += YYTERROR; - if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) - { - yyn = yytable[yyn]; - if (0 < yyn) - break; - } - } - - /* Pop the current state because it cannot handle the error token. */ - if (yyssp == yyss) - YYABORT; - - - yydestruct ("Error: popping", - yystos[yystate], yyvsp); - YYPOPSTACK (1); - yystate = *yyssp; - YY_STACK_PRINT (yyss, yyssp); - } - - YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN - *++yyvsp = yylval; - YY_IGNORE_MAYBE_UNINITIALIZED_END - - - /* Shift the error token. */ - YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp); - - yystate = yyn; - goto yynewstate; - - -/*-------------------------------------. -| yyacceptlab -- YYACCEPT comes here. | -`-------------------------------------*/ -yyacceptlab: - yyresult = 0; - goto yyreturn; - -/*-----------------------------------. -| yyabortlab -- YYABORT comes here. | -`-----------------------------------*/ -yyabortlab: - yyresult = 1; - goto yyreturn; - -#if !defined yyoverflow || YYERROR_VERBOSE -/*-------------------------------------------------. -| yyexhaustedlab -- memory exhaustion comes here. | -`-------------------------------------------------*/ -yyexhaustedlab: - yyerror (YY_("memory exhausted")); - yyresult = 2; - /* Fall through. */ -#endif - -yyreturn: - if (yychar != YYEMPTY) - { - /* Make sure we have latest lookahead translation. See comments at - user semantic actions for why this is necessary. */ - yytoken = YYTRANSLATE (yychar); - yydestruct ("Cleanup: discarding lookahead", - yytoken, &yylval); - } - /* Do not reclaim the symbols of the rule whose action triggered - this YYABORT or YYACCEPT. */ - YYPOPSTACK (yylen); - YY_STACK_PRINT (yyss, yyssp); - while (yyssp != yyss) - { - yydestruct ("Cleanup: popping", - yystos[*yyssp], yyvsp); - YYPOPSTACK (1); - } -#ifndef yyoverflow - if (yyss != yyssa) - YYSTACK_FREE (yyss); -#endif -#if YYERROR_VERBOSE - if (yymsg != yymsgbuf) - YYSTACK_FREE (yymsg); -#endif - return yyresult; -} -#line 331 "otp-parser.y" /* yacc.c:1906 */ - diff --git a/Build/source/texk/web2c/otps/otp-parser.h b/Build/source/texk/web2c/otps/otp-parser.h deleted file mode 100644 index fe67aedb5a4..00000000000 --- a/Build/source/texk/web2c/otps/otp-parser.h +++ /dev/null @@ -1,98 +0,0 @@ -/* A Bison parser, made by GNU Bison 3.0.4. */ - -/* Bison interface for Yacc-like parsers in C - - Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - -/* As a special exception, you may create a larger work that contains - part or all of the Bison parser skeleton and distribute that work - under terms of your choice, so long as that work isn't itself a - parser generator using the skeleton or a modified version thereof - as a parser skeleton. Alternatively, if you modify or redistribute - the parser skeleton itself, you may (at your option) remove this - special exception, which will cause the skeleton and the resulting - Bison output files to be licensed under the GNU General Public - License without this special exception. - - This special exception was added by the Free Software Foundation in - version 2.2 of Bison. */ - -#ifndef YY_YY__TEX_LIVE_TEXK_WEB_C_OTPS_OTP_PARSER_H_INCLUDED -# define YY_YY__TEX_LIVE_TEXK_WEB_C_OTPS_OTP_PARSER_H_INCLUDED -/* Debug traces. */ -#ifndef YYDEBUG -# define YYDEBUG 0 -#endif -#if YYDEBUG -extern int yydebug; -#endif - -/* Token type. */ -#ifndef YYTOKENTYPE -# define YYTOKENTYPE - enum yytokentype - { - NUMBER = 258, - ID = 259, - STRING = 260, - LEFTARROW = 261, - RIGHTARROW = 262, - INPUT = 263, - OUTPUT = 264, - ALIASES = 265, - STATES = 266, - TABLES = 267, - EXPRESSIONS = 268, - PUSH = 269, - POP = 270, - DIV = 271, - MOD = 272, - BEG = 273, - END = 274 - }; -#endif -/* Tokens. */ -#define NUMBER 258 -#define ID 259 -#define STRING 260 -#define LEFTARROW 261 -#define RIGHTARROW 262 -#define INPUT 263 -#define OUTPUT 264 -#define ALIASES 265 -#define STATES 266 -#define TABLES 267 -#define EXPRESSIONS 268 -#define PUSH 269 -#define POP 270 -#define DIV 271 -#define MOD 272 -#define BEG 273 -#define END 274 - -/* Value type. */ -#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef int YYSTYPE; -# define YYSTYPE_IS_TRIVIAL 1 -# define YYSTYPE_IS_DECLARED 1 -#endif - - -extern YYSTYPE yylval; - -int yyparse (void); - -#endif /* !YY_YY__TEX_LIVE_TEXK_WEB_C_OTPS_OTP_PARSER_H_INCLUDED */ diff --git a/Build/source/texk/web2c/otps/otp-parser.y b/Build/source/texk/web2c/otps/otp-parser.y deleted file mode 100644 index 468b0557930..00000000000 --- a/Build/source/texk/web2c/otps/otp-parser.y +++ /dev/null @@ -1,331 +0,0 @@ -/* otp.y: Grammar for OTP files. - -This file is part of Omega, -which is based on the web2c distribution of TeX. - -Copyright (c) 1994--2001 John Plaice and Yannis Haralambous -Copyright (C) 2005, 2006 Roozbeh Pournader - -Omega is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -Omega is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with Omega; if not, write to the Free Software Foundation, Inc., -59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -*/ - -%{ -#include "otp.h" -#include "routines.h" -#include "yystype.h" -int k, len; - -static void -yyerror(const char *msg) -{ -fprintf(stderr, "line %d: %s\n", line_number, msg); -} -%} - -%token NUMBER -%token ID -%token STRING -%token LEFTARROW -%token RIGHTARROW -%token INPUT -%token OUTPUT -%token ALIASES -%token STATES -%token TABLES -%token EXPRESSIONS -%token PUSH -%token POP -%token DIV -%token MOD -%token BEG -%token END - -%left '+' '-' -%left '*' DIV MOD - -%% - -File : - Input - Output - Tables - States - Aliases - Expressions - ; - -Input : - /* Empty */ - { input_bytes=2; } - | INPUT NUMBER ';' - { input_bytes=$2.yint; } - ; - -Output : - /* Empty */ - { output_bytes=2; } - | OUTPUT NUMBER ';' - { output_bytes=$2.yint; } - ; - -Tables : - /* Empty */ - | TABLES MoreTables - ; - -MoreTables : - OneTable - | MoreTables OneTable - ; - -OneTable : - ID '[' NUMBER ']' - { store_table($1.ystring, $3.yint); } - '=' '{' Numbers '}' ';' - ; - -Numbers : - /* Empty */ - | MoreNumbers - ; - -MoreNumbers : - NUMBER - { add_to_table($1.yint); } - | MoreNumbers ',' NUMBER - { add_to_table($3.yint); } - ; - -States : - /* Empty */ - | STATES MoreStates ';' - ; - -MoreStates : - ID - { store_state($1.ystring); } - | MoreStates ',' ID - { store_state($3.ystring); } - ; - -Aliases : - /* Empty */ - | ALIASES MoreAliases - ; - -MoreAliases : - OneAlias - | MoreAliases OneAlias - ; - -OneAlias : - ID '=' OneCompleteLeft ';' - { store_alias($1.ystring, $3.yleft); } - ; - -OneCompleteLeft : - STRING - { $$.yleft = StringLeft($1.ystring); } - | OneLeft '<' NUMBER ',' NUMBER '>' - { $$.yleft = CompleteLeft($1.yleft, $3.yint, $5.yint); } - | OneLeft '<' NUMBER ',' '>' - { $$.yleft = PlusLeft($1.yleft, $3.yint); } - | OneLeft '<' NUMBER '>' - { $$.yleft = CompleteLeft($1.yleft, $3.yint, $3.yint); } - | OneLeft - { $$.yleft = $1.yleft; } - ; - -OneLeft : - NUMBER - { $$.yleft = SingleLeft($1.yint); } - | NUMBER '-' NUMBER - { $$.yleft = DoubleLeft($1.yint, $3.yint); } - | '.' - { $$.yleft = WildCard(); } - | '^' '(' ChoiceLeft ')' - { $$.yleft = NotChoiceLeft($3.ylleft); } - | '(' ChoiceLeft ')' - { $$.yleft = ChoiceLeft($2.ylleft); } - | '{' ID '}' - { $$.yleft = lookup_alias($2.ystring); } - ; - -ChoiceLeft : - OneLeft - { $$.ylleft = llist1($1.yleft); } - | ChoiceLeft '|' OneLeft - { $$.ylleft = lappend1($1.ylleft, $3.yleft); } - ; - -Expressions : - EXPRESSIONS MoreExpressions - { - for(cur_state=0; cur_state<no_states; cur_state++) { - if ((states[cur_state].no_exprs)==0) { - out_int(OTP_LEFT_START, 0); - } else { - out_int(OTP_LEFT_RETURN, 0); - } - out_int(OTP_RIGHT_CHAR, 1); - out_int(OTP_STOP, 0); - } - } - ; - -MoreExpressions : - OneExpr - | MoreExpressions OneExpr - ; - -OneExpr : - LeftState - { states[cur_state].no_exprs++; } - TotalLeft - { out_left($3.ylleft); right_offset=0; } - RIGHTARROW Right - { right_offset=OTP_PBACK_OFFSET; } - PushBack RightState ';' - { fill_in_left(); } - ; - -PushBack : - /* Empty */ - | LEFTARROW Right - ; - -LeftState : - /* Empty */ - { cur_state = 0; } - | '<' ID '>' - { cur_state = lookup_state($2.ystring); } - ; - -TotalLeft : - BegLeft Left EndLeft - { $$.ylleft = lappend($1.ylleft, lappend($2.ylleft, $3.ylleft)); } -| BegLeft EndLeft - { $$.ylleft = lappend($1.ylleft, $2.ylleft); } - ; - -BegLeft : - /* Empty */ - { $$.ylleft = nil; } - | BEG - { $$.ylleft = llist1(BeginningLeft()); } - ; - -EndLeft : - /* Empty */ - { $$.ylleft = nil; } - | END - { $$.ylleft = llist1(EndLeft()); } - ; - -Left : - OneCompleteLeft - { $$.ylleft = llist1($1.yleft); } - | Left OneCompleteLeft - { $$.ylleft = lappend1($1.ylleft, $2.yleft); } - ; - -Right : - /* Empty */ - | Right OneRight - ; - -OneRight : - STRING - { - len=strlen($1.ystring); - for (k=0; k<len; k++) { - out_right(OTP_RIGHT_NUM, ($1.ystring)[k]); - } - } - | NUMBER - { out_right(OTP_RIGHT_NUM, $1.yint); } - | '\\' NUMBER - { out_right(OTP_RIGHT_CHAR, $2.yint); } - | '\\' '$' - { out_right(OTP_RIGHT_LCHAR, 0); } - | '\\' '(' '$' '-' NUMBER ')' - { out_right(OTP_RIGHT_LCHAR, $5.yint); } - | '\\' '*' - { - out_right(OTP_RIGHT_SOME, 0); - out_int(0,0); - } - | '\\' '(' '*' '+' NUMBER ')' - { - out_right(OTP_RIGHT_SOME, $5.yint); - out_int(0, 0); - } - | '\\' '(' '*' '-' NUMBER ')' - { - out_right(OTP_RIGHT_SOME, 0); - out_int(0, $5.yint); - } - | '\\' '(' '*' '+' NUMBER '-' NUMBER ')' - { - out_right(OTP_RIGHT_SOME, $5.yint); - out_int(0, $7.yint); - } - | '#' OneRightExpr - { out_right(OTP_RIGHT_OUTPUT, 0); } - ; - -RestRightExpr : - OneRightExpr - | RestRightExpr '+' OneRightExpr - { out_int(OTP_ADD, 0); } - | RestRightExpr '-' OneRightExpr - { out_int(OTP_SUB, 0); } - | RestRightExpr '*' OneRightExpr - { out_int(OTP_MULT, 0); } - | RestRightExpr DIV OneRightExpr - { out_int(OTP_DIV, 0); } - | RestRightExpr MOD OneRightExpr - { out_int(OTP_MOD, 0); } - | ID - { out_int(OTP_PUSH_NUM, lookup_table($1.ystring)); } - '[' RestRightExpr ']' - { out_int(OTP_LOOKUP, 0); } - ; - -OneRightExpr : - NUMBER - { out_int(OTP_PUSH_NUM, $1.yint); } - | '\\' NUMBER - { out_int(OTP_PUSH_CHAR, $2.yint); } - | '\\' '$' - { out_int(OTP_PUSH_LCHAR, 0); } - | '\\' '(' '$' '-' NUMBER ')' - { out_int(OTP_PUSH_LCHAR, $5.yint); } - | '(' RestRightExpr ')' - ; - -RightState : - /* Empty */ - | '<' '>' - { out_int(OTP_STATE_CHANGE, 0); } - | '<' ID '>' - { out_int(OTP_STATE_CHANGE, lookup_state($2.ystring)); } - | '<' PUSH ID '>' - { out_int(OTP_STATE_PUSH, lookup_state($3.ystring)); } - | '<' POP '>' - { out_int(OTP_STATE_POP, 0); } - ; -%% diff --git a/Build/source/texk/web2c/otps/otp.h b/Build/source/texk/web2c/otps/otp.h deleted file mode 100644 index 8d56f5ae9d5..00000000000 --- a/Build/source/texk/web2c/otps/otp.h +++ /dev/null @@ -1,78 +0,0 @@ -/* otp.h: Instructions found in OCP files. - -This file is part of Omega, -which is based on the web2c distribution of TeX, - -Copyright (c) 1994--2001 John Plaice and Yannis Haralambous -Copyright (c) 2002 Behdad Esfahbod -Copyright (c) 2002 Roozbeh Pournader - -Omega is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -Omega is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with Omega; if not, write to the Free Software Foundation, Inc., -59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -*/ - -enum { - OTP_START_TOKENS = 256, - OTP_RIGHT_OUTPUT, - OTP_RIGHT_NUM, - OTP_RIGHT_CHAR, - OTP_RIGHT_LCHAR, - OTP_RIGHT_SOME, - - OTP_PBACK_OUTPUT, - OTP_PBACK_NUM, - OTP_PBACK_CHAR, - OTP_PBACK_LCHAR, - OTP_PBACK_SOME, - - OTP_ADD, - OTP_SUB, - OTP_MULT, - OTP_DIV, - OTP_MOD, - OTP_LOOKUP, - OTP_PUSH_NUM, - OTP_PUSH_CHAR, - OTP_PUSH_LCHAR, - - OTP_STATE_CHANGE, - OTP_STATE_PUSH, - OTP_STATE_POP, - - OTP_LEFT_START, - OTP_LEFT_RETURN, - OTP_LEFT_BACKUP, - - OTP_GOTO, - OTP_GOTO_NE, - OTP_GOTO_EQ, - OTP_GOTO_LT, - OTP_GOTO_LE, - OTP_GOTO_GT, - OTP_GOTO_GE, - OTP_GOTO_NO_ADVANCE, - OTP_GOTO_BEG, - OTP_GOTO_END, - - OTP_STOP, -}; - -#define OTP_PBACK_OFFSET (OTP_PBACK_OUTPUT - OTP_RIGHT_OUTPUT) - -#define OTP_MAXCODE 0xFFFF - -#define OTP_MAXSTATES 100 -#define OTP_MAXTABLES 100 -#define OTP_MAXALIASES 1000 diff --git a/Build/source/texk/web2c/otps/otp2ocp.c b/Build/source/texk/web2c/otps/otp2ocp.c deleted file mode 100644 index 1a44fd3e942..00000000000 --- a/Build/source/texk/web2c/otps/otp2ocp.c +++ /dev/null @@ -1,151 +0,0 @@ -/* otp2ocp.c: Main program for transforming OTP files into OCP files. - -This file is part of Omega, -which is based on the web2c distribution of TeX, - -Copyright (c) 1994--2001 John Plaice and Yannis Haralambous -Copyright (c) 2002 Behdad Esfahbod -Copyright (C) 2002, 2005, 2006 Roozbeh Pournader - -Omega is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -Omega is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with Omega; if not, write to the Free Software Foundation, Inc., -59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -*/ - -#include <kpathsea/config.h> -#include <kpathsea/types.h> -#include <kpathsea/c-std.h> -#include <kpathsea/c-fopen.h> -#include <kpathsea/tex-file.h> -#include "routines.h" - -extern FILE *yyin; -int -yywrap(void) -{ - return 1; -} - -static void -output(FILE *output_file, int i) -{ -/* make sure output is in big-endian form */ - char j; - int k; - k = i; - j = k >> 24; - fwrite (&j, 1, 1, output_file); - k = k & 0xffffff; - j = k >> 16; - fwrite (&j, 1, 1, output_file); - k = k & 0xffff; - j = k >> 8; - fwrite (&j, 1, 1, output_file); - j = k & 0xff; - fwrite (&j, 1, 1, output_file); -} - -static void -otp_read(string input_name, string output_name) -{ - int i, j, len, no_words; - int *table, *instrs; - FILE *input_file, *output_file; - - input_file = xfopen (input_name, FOPEN_R_MODE); - store_state ("INITIAL"); - yyin = input_file; - if (yyparse ()) - exit (EXIT_FAILURE); - output_file = xfopen (output_name, FOPEN_WBIN_MODE); - room_for_tables = 0; - for (i = 0; i < no_tables; i++) - { - room_for_tables = room_for_tables + tables[i].length; - } - room_for_states = 0; - for (i = 0; i < no_states; i++) - { - room_for_states = room_for_states + states[i].length; - } - no_words = no_tables + room_for_tables + no_states + room_for_states + 7; - output (output_file, no_words); - output (output_file, input_bytes); - output (output_file, output_bytes); - output (output_file, no_tables); - output (output_file, room_for_tables); - output (output_file, no_states); - output (output_file, room_for_states); - for (i = 0; i < no_tables; i++) - { - len = tables[i].length; - output (output_file, len); - } - for (i = 0; i < no_tables; i++) - { - len = tables[i].length; - table = tables[i].table; - for (j = 0; j < len; j++) - { - output (output_file, table[j]); - } - } - for (i = 0; i < no_states; i++) - { - len = states[i].length; - output (output_file, len); - } - for (i = 0; i < no_states; i++) - { - len = states[i].length; - instrs = states[i].instrs; - for (j = 0; j < len; j++) - { - output (output_file, instrs[j]); - } - } -} - -int -main(int argc, string *argv) -{ - string input_name, full_input_name; - string output_name; - - kpse_set_program_name (argv[0], "otp2ocp"); - switch (argc) - { - case 1: - FATAL ("No command line arguments given"); - case 2: - input_name = argv[1]; - output_name = make_suffix (xbasename (input_name), "ocp"); - break; - case 3: - input_name = argv[1]; - output_name = argv[2]; - break; - default: - FATAL ("Too many command line arguments"); - } - full_input_name = kpse_find_file (input_name, kpse_otp_format, true); - if (!full_input_name) - { - FATAL1 ("File '%s' not found", input_name); - } - - otp_read (full_input_name, output_name); - - return EXIT_SUCCESS; -} diff --git a/Build/source/texk/web2c/otps/otp2ocp.man b/Build/source/texk/web2c/otps/otp2ocp.man deleted file mode 100644 index 816742cea60..00000000000 --- a/Build/source/texk/web2c/otps/otp2ocp.man +++ /dev/null @@ -1,36 +0,0 @@ -.TH "otp2ocp" "1" "April 2017" "TeX Live" -.PP -.SH "NAME" -otp2ocp \- convert Omega Translation Process files to Omega -Compiled Process files -.SH "SYNOPSIS" -.B otp2ocp -.IR OTPFILE [ \fB.otp\fP ] -.RI [ OCPFILE [ \fB.ocp\fP ]] -.SH "DESCRIPTION" -.PP -\fBotp2ocp\fP is used to create or recreate Omega Compiled Process -files (binary) from Omega Translation Process (text) files\&. -.PP -Omega Translation Processes are rules used to translate one character -set to another and to choose between characters with one or more -context-sensitive variants\&. OTPs could also be used to change the -case or hyphenation of text\&. -.PP -.SH "SEE ALSO" -.PP -\fBmkocp\fP(1), \fBomega\fP(1)\&. -.PP -<https://ctan\&.org/pkg/omega> -.PP -.SH "AUTHOR" -.PP -\fBmkocp\fP is part of Omega\&. The primary authors of Omega are John Plaice -and Yannis Haralambous\&. -.PP -This manual page was written by C\&.M\&. Connelly -<cmc@debian\&.org>, for -the Debian GNU/Linux system\&. It may be used by other distributions -without contacting the author\&. Any mistakes or omissions in the -manual page are my fault; inquiries about or corrections to this -manual page should be directed to me (and not to the primary author)\&. diff --git a/Build/source/texk/web2c/otps/otp2ocp.test b/Build/source/texk/web2c/otps/otp2ocp.test deleted file mode 100755 index 77a7c269982..00000000000 --- a/Build/source/texk/web2c/otps/otp2ocp.test +++ /dev/null @@ -1,9 +0,0 @@ -#! /bin/sh -vx -# $Id$ -# Public domain. Originally written by Peter Breitenlohner. - -TEXMFCNF=$srcdir/../../kpathsea \ - ./otp2ocp $srcdir/uni2lat xuni2lat.ocp || exit 1 - -cmp $srcdir/uni2lat.ocp xuni2lat.ocp || exit 1 - diff --git a/Build/source/texk/web2c/otps/outocp.c b/Build/source/texk/web2c/otps/outocp.c deleted file mode 100644 index 4b5e6dcc34c..00000000000 --- a/Build/source/texk/web2c/otps/outocp.c +++ /dev/null @@ -1,219 +0,0 @@ -/* outocp.c: ASCII output for OCP files, mainly for debugging purposes. - -This file is part of Omega, -which is based on the web2c distribution of TeX. - -Copyright (c) 1994--2001 John Plaice and Yannis Haralambous -Copyright (C) 2005 Roozbeh Pournader - -Omega is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -Omega is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with Omega; if not, write to the Free Software Foundation, Inc., -59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -*/ - -#include <kpathsea/config.h> -#include <kpathsea/types.h> -#include <kpathsea/c-std.h> -#include <kpathsea/c-fopen.h> -#include <kpathsea/tex-file.h> -#include "otp.h" - -const char *otp_names[] = { - " ", - "OTP_RIGHT_OUTPUT ", - "OTP_RIGHT_NUM ", - "OTP_RIGHT_CHAR ", - "OTP_RIGHT_LCHAR ", - "OTP_RIGHT_SOME ", - "OTP_PBACK_OUTPUT ", - "OTP_PBACK_NUM ", - "OTP_PBACK_CHAR ", - "OTP_PBACK_LCHAR ", - "OTP_PBACK_SOME ", - "OTP_ADD ", - "OTP_SUB ", - "OTP_MULT ", - "OTP_DIV ", - "OTP_MOD ", - "OTP_LOOKUP ", - "OTP_PUSH_NUM ", - "OTP_PUSH_CHAR ", - "OTP_PUSH_LCHAR ", - "OTP_STATE_CHANGE ", - "OTP_STATE_PUSH ", - "OTP_STATE_POP ", - "OTP_LEFT_START ", - "OTP_LEFT_RETURN ", - "OTP_LEFT_BACKUP ", - "OTP_GOTO ", - "OTP_GOTO_NE ", - "OTP_GOTO_EQ ", - "OTP_GOTO_LT ", - "OTP_GOTO_LE ", - "OTP_GOTO_GT ", - "OTP_GOTO_GE ", - "OTP_GOTO_NO_ADVANCE", - "OTP_GOTO_BEG ", - "OTP_GOTO_END ", - "OTP_STOP " -}; - - -int no_words_read = 0; - -static int -ctp_get(FILE *input_file) -{ - int ctpchar; - ctpchar = getc (input_file); - if (ctpchar == EOF) - { - FATAL ("Unexpected end of file"); - } - return ctpchar; -} - -static int -ctp_read(FILE *input_file) -{ - int ctpword; - no_words_read++; - ctpword = ctp_get (input_file); - if (ctpword > 127) - { - FATAL ("First octet > 127"); - } - ctpword = ctpword * 256 + ctp_get (input_file); - ctpword = ctpword * 256 + ctp_get (input_file); - ctpword = ctpword * 256 + ctp_get (input_file); - return ctpword; -} - -static void -ctp_explain(FILE *input_file) -{ - int i, j, arg, entry, instruction; - int ctp_length, real_ctp_length, ctp_input, ctp_output, - ctp_no_tables, ctp_room_tables, ctp_no_states, ctp_room_states; - int room_tables[OTP_MAXTABLES], room_states[OTP_MAXSTATES]; - - ctp_length = ctp_read (input_file); - fprintf (stdout, "ctp_length : %3x(%3d)\n", ctp_length, ctp_length); - real_ctp_length = ctp_length - 7; - fprintf (stdout, "real_ctp_length: %3x(%3d)\n", - real_ctp_length, real_ctp_length); - ctp_input = ctp_read (input_file); - fprintf (stdout, "ctp_input : %3x(%3d)\n", ctp_input, ctp_input); - ctp_output = ctp_read (input_file); - fprintf (stdout, "ctp_output : %3x(%3d)\n", ctp_output, ctp_output); - ctp_no_tables = ctp_read (input_file); - fprintf (stdout, "ctp_no_tables : %3x(%3d)\n", - ctp_no_tables, ctp_no_tables); - ctp_room_tables = ctp_read (input_file); - fprintf (stdout, "ctp_room_tables: %3x(%3d)\n", - ctp_room_tables, ctp_room_tables); - ctp_no_states = ctp_read (input_file); - fprintf (stdout, "ctp_no_states : %3x(%3d)\n", - ctp_no_states, ctp_no_states); - ctp_room_states = ctp_read (input_file); - fprintf (stdout, "ctp_room_states: %3x(%3d)\n\n", - ctp_room_states, ctp_room_states); - if (ctp_no_tables >= OTP_MAXTABLES) - { - FATAL ("Too many tables"); - } - if (ctp_no_states >= OTP_MAXSTATES) - { - FATAL ("Too many states"); - } - if (ctp_no_tables != 0) - { - for (i = 0; i < ctp_no_tables; i++) - { - room_tables[i] = ctp_read (input_file); - fprintf (stdout, "Table %2x(%2d): %3x(%3d)entries\n", - i, i, room_tables[i], room_tables[i]); - } - fprintf (stdout, "\n"); - for (i = 0; i < ctp_no_tables; i++) - { - for (j = 0; j < room_tables[i]; j++) - { - entry = ctp_read (input_file); - fprintf (stdout, "Table %2x(%2d), entry %3x(%3d): %2x(%3d)\n", - i, i, j, j, entry, entry); - } - } - fprintf (stdout, "\n"); - } - if (ctp_no_states != 0) - { - for (i = 0; i < ctp_no_states; i++) - { - room_states[i] = ctp_read (input_file); - fprintf (stdout, "State %2x(%2d): %3x(%3d) entries\n", - i, i, room_states[i], room_states[i]); - } - fprintf (stdout, "\n"); - for (i = 0; i < ctp_no_states; i++) - { - for (j = 0; j < room_states[i]; j++) - { - instruction = ctp_read (input_file); - arg = instruction & 0xffffff; - if ((arg >= 32) && (arg < 127)) - fprintf (stdout, - "State %2x(%2d), entry %3x(%3d): %s %2x(%3d,`%c')\n", - i, i, j, j, otp_names[instruction >> 24], - arg, arg, arg); - else - fprintf (stdout, - "State %2x(%2d), entry %3x(%3d): %s %2x(%3d)\n", - i, i, j, j, otp_names[instruction >> 24], arg, arg); - } - } - } - fprintf (stdout, "\nfile length should be: %3x(%3d)\n", - ctp_length, ctp_length); - fprintf (stdout, "number words read : %3x(%3d)\n", - no_words_read, no_words_read); -} - -int -main(int argc, string *argv) -{ - string input_name, full_input_name; - FILE *input_file; - - kpse_set_program_name (argv[0], "outocp"); - switch (argc) - { - case 1: - FATAL ("No file given"); - case 2: - input_name = argv[1]; - break; - default: - FATAL ("Too many arguments"); - } - full_input_name = kpse_find_file (input_name, kpse_ocp_format, true); - if (!full_input_name) - { - FATAL1 ("%s not found", input_name); - } - input_file = xfopen (full_input_name, FOPEN_RBIN_MODE); - ctp_explain (input_file); - - return EXIT_SUCCESS; -} diff --git a/Build/source/texk/web2c/otps/outocp.man b/Build/source/texk/web2c/otps/outocp.man deleted file mode 100644 index fbe1d9e0c92..00000000000 --- a/Build/source/texk/web2c/otps/outocp.man +++ /dev/null @@ -1,39 +0,0 @@ -.TH "outocp" "1" "April 2017" "TeX Live" -.PP -.SH "NAME" -outocp \- debug an OCP file -.SH "SYNOPSIS" -.B outocp -.IR OCPFILE [ \fB.ocp\fP ] -.SH "DESCRIPTION" -.PP -\fBoutocp\fP is used for debugging Omega Compiled Translation Process -(OCP) files\&. It generates some statistics about the OCP file, and -then runs through the states that the file defines\&. -.PP -Omega Translation Processes are rules used to translate one character -set to another and to choose between characters with one or more -context-sensitive variants\&. OTPs could also be used to change the -case or hyphenation of text\&. -.PP -.SH "BUGS" -.PP -None known, but report any found to <omega@ens\&.fr> (mailing list)\&. -.PP -.SH "SEE ALSO" -.PP -\fBocp2otp\fP(1), \fBotp2ocp\fP(1), \fBomega\fP(1)\&. -.PP -<https://ctan\&.org/pkg/omega> -.PP -.SH "AUTHOR" -.PP -\fBmkocp\fP is part of Omega\&. The primary authors of Omega are John Plaice -and Yannis Haralambous\&. -.PP -This manual page was written by C\&.M\&. Connelly -<cmc@debian\&.org>, for -the Debian GNU/Linux system\&. It may be used by other distributions -without contacting the author\&. Any mistakes or omissions in the -manual page are my fault; inquiries about or corrections to this -manual page should be directed to me (and not to the primary author)\&. diff --git a/Build/source/texk/web2c/otps/outocp.test b/Build/source/texk/web2c/otps/outocp.test deleted file mode 100755 index b7262403f7f..00000000000 --- a/Build/source/texk/web2c/otps/outocp.test +++ /dev/null @@ -1,9 +0,0 @@ -#! /bin/sh -vx -# $Id$ -# Public domain. Originally written by Peter Breitenlohner. - -TEXMFCNF=$srcdir/../../kpathsea \ - ./outocp $srcdir/uni2lat.ocp >xuni2lat.out || exit 1 - -diff $srcdir/uni2lat.out xuni2lat.out || exit 1 - diff --git a/Build/source/texk/web2c/otps/routines.c b/Build/source/texk/web2c/otps/routines.c deleted file mode 100644 index 916998a9c63..00000000000 --- a/Build/source/texk/web2c/otps/routines.c +++ /dev/null @@ -1,558 +0,0 @@ -/* routines.c: Generating the finite state automaton. - -This file is part of Omega, -which is based on the web2c distribution of TeX. - -Copyright (c) 1994--2001 John Plaice and Yannis Haralambous -Copyright (C) 2005, 2006 Roozbeh Pournader - -Omega is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -Omega is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with Omega; if not, write to the Free Software Foundation, Inc., -59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -*/ - -#include <kpathsea/config.h> -#include <kpathsea/types.h> -#include <kpathsea/c-std.h> -#include "routines.h" -#include "otp.h" - -#define out_ptr (states[cur_state].length) -#define out_array (states[cur_state].instrs) - -list left_false_holes; - -int left_state; -int right_offset; -int input_bytes; -int output_bytes; - -int no_states = 0; -int cur_state = 0; -int room_for_states = 0; -state_type states[OTP_MAXSTATES]; - -int no_tables = 0; -int cur_table = 0; -int room_for_tables = 0; -table_type tables[OTP_MAXTABLES]; - -int no_aliases = 0; -alias_pair aliases[OTP_MAXALIASES]; - -/* cons = [x] + L */ -list -cons(int x, list L) -{ -list temp; -temp = (list) malloc(sizeof(cell)); -temp->val = x; -temp->ptr = L; -return temp; -} - -/* list1 = [x] */ -list -list1(int x) -{ -list temp; -temp = (list) malloc(sizeof(cell)); -temp->val = x; -temp->ptr = nil; -return temp; -} - -/* list2 = [x, y] */ -list -list2(int x, int y) -{ -list temp, temp1; -temp = (list) malloc(sizeof(cell)); -temp1 = (list) malloc(sizeof(cell)); -temp->val = x; -temp->ptr = temp1; -temp1->val = y; -temp1->ptr = nil; -return temp; -} - -/* append = copy(K) + L */ -list -append(list K, list L) -{ -if (K==nil) return L; -return cons(K->val, append(K->ptr, L)); -} - -/* append1 = copy(L) + [x] */ -list -append1(list L, int x) -{ -return (append(L,list1(x))); -} - -/* lcons = [x] + L */ -llist -lcons(left x, llist L) -{ -llist temp; -temp = (llist) malloc(sizeof(lcell)); -temp->val = x; -temp->ptr = L; -return temp; -} - -/* llist1 = [x] */ -llist -llist1(left x) -{ -llist temp; -temp = (llist) malloc(sizeof(lcell)); -temp->val = x; -temp->ptr = nil; -return temp; -} - -/* llist2 = [x, y] */ -llist -llist2(left x, left y) -{ -llist temp, temp1; -temp = (llist) malloc(sizeof(lcell)); -temp1 = (llist) malloc(sizeof(lcell)); -temp->val = x; -temp->ptr = temp1; -temp1->val = y; -temp1->ptr = nil; -return temp; -} - -/* lappend = copy(K) + L */ -llist -lappend(llist K, llist L) -{ -if (K==nil) return L; -return lcons(K->val, lappend(K->ptr, L)); -} - -/* lappend1 = copy(L) + [x] */ -llist -lappend1(llist L, left x) -{ -return (lappend(L,llist1(x))); -} - -left -WildCard(void) -{ -left temp; -temp = (left) malloc(sizeof(lft_cell)); -temp->kind=WILDCARD; -return temp; -} - -left -StringLeft(char *x) -{ -left temp; -temp = (left) malloc(sizeof(lft_cell)); -temp->kind=STRINGLEFT; -temp->valstr=x; -return temp; -} - -left -SingleLeft(int x) -{ -left temp; -temp = (left) malloc(sizeof(lft_cell)); -temp->kind=SINGLELEFT; -temp->val1=x; -return temp; -} - -left -DoubleLeft(int x, int y) -{ -left temp; -temp = (left) malloc(sizeof(lft_cell)); -temp->kind=DOUBLELEFT; -temp->val1=x; -temp->val2=y; -return temp; -} - -left -ChoiceLeft(llist L) -{ -left temp; -temp = (left) malloc(sizeof(lft_cell)); -temp->kind=CHOICELEFT; -temp->more_lefts=L; -return temp; -} - -left -NotChoiceLeft(llist L) -{ -left temp; -temp = (left) malloc(sizeof(lft_cell)); -temp->kind=NOTCHOICELEFT; -temp->more_lefts=L; -return temp; -} - -left -PlusLeft(left l, int n) -{ -left temp; -if (n == 0) { FATAL ("plusleft's argument must be non-zero"); } -temp = (left) malloc(sizeof(lft_cell)); -temp->kind=PLUSLEFT; -temp->one_left=l; -temp->val1=n; -return temp; -} - -left -CompleteLeft(left l, int n, int m) -{ -left temp; -if (n == 0) { FATAL ("completeleft's first argument must be non-zero"); } -temp = (left) malloc(sizeof(lft_cell)); -temp->kind=COMPLETELEFT; -temp->one_left=l; -temp->val1=n; -temp->val2=m; -return temp; -} - -left -BeginningLeft(void) -{ -left temp; -temp = (left) malloc(sizeof(lft_cell)); -temp->kind=BEGINNINGLEFT; -return temp; -} - -left -EndLeft(void) -{ -left temp; -temp = (left) malloc(sizeof(lft_cell)); -temp->kind=ENDLEFT; -return temp; -} - -list -gen_left(left arg) -{ -int save_ptr, k; -list holes, false_holes, true_holes, backup_holes; -char *runner; -llist p; - -switch(arg->kind) { -case WILDCARD: - return nil; -case STRINGLEFT: - runner=arg->valstr; - holes=nil; - while (*runner) { - out_int(OTP_GOTO_NE, *runner); - out_int(0, 0); - holes=cons(out_ptr-1,holes); - runner++; - if (*runner) { - out_int(OTP_GOTO_NO_ADVANCE, 0); - holes = cons(out_ptr-1, holes); - } - } - return holes; -case SINGLELEFT: - out_int(OTP_GOTO_NE, arg->val1); - out_int(0, 0); - return list1(out_ptr-1); -case DOUBLELEFT: - holes = nil; - if (arg->val1 > 0) { - out_int(OTP_GOTO_LT, arg->val1); - out_int(0, 0); - holes = list1(out_ptr-1); - } - if (arg->val2 < 0xFFFF) { - out_int(OTP_GOTO_GT, arg->val2); - out_int(0, 0); - holes = cons(out_ptr-1, holes); - } - return holes; -case CHOICELEFT: - true_holes=nil; - false_holes=nil; - p=arg->more_lefts; - while (p!=nil) { - false_holes = gen_left(p->val); - if (p->ptr) { - out_int(OTP_GOTO, 0); - true_holes=cons(out_ptr-1, true_holes); - fill_in(false_holes); - } - p=p->ptr; - } - fill_in(true_holes); - return false_holes; -case NOTCHOICELEFT: - true_holes=nil; - p=arg->more_lefts; - while (p!=nil) { - false_holes = gen_left(p->val); - out_int(OTP_GOTO, 0); - true_holes=cons(out_ptr-1, true_holes); - fill_in(false_holes); - p=p->ptr; - } - return true_holes; -case PLUSLEFT: - false_holes=nil; - true_holes=nil; - backup_holes=nil; - k=1; - while (k<arg->val1) { - holes = gen_left(arg->one_left); - false_holes = append(false_holes, holes); - out_int(OTP_GOTO_NO_ADVANCE, 0); - false_holes = cons(out_ptr-1, false_holes); - k++; - } - holes=gen_left(arg->one_left); - false_holes = append(false_holes, holes); - save_ptr = out_ptr; - out_int(OTP_GOTO_NO_ADVANCE, 0); - true_holes=cons(out_ptr-1, true_holes); - backup_holes=gen_left(arg->one_left); - out_int(OTP_GOTO, save_ptr); - fill_in(backup_holes); - out_int(OTP_LEFT_BACKUP, 0); - fill_in(true_holes); - return false_holes; -case COMPLETELEFT: - false_holes=nil; - true_holes=nil; - backup_holes=nil; - k=1; - if (arg->val1 > arg->val2) { - return nil; - } - while (k<=arg->val1) { - holes = gen_left(arg->one_left); - false_holes = append(false_holes, holes); - out_int(OTP_GOTO_NO_ADVANCE, 0); - false_holes = cons(out_ptr-1, false_holes); - k++; - } - while (k<arg->val2) { - holes = gen_left(arg->one_left); - true_holes = append(true_holes, holes); - out_int(OTP_GOTO_NO_ADVANCE, 0); - backup_holes = cons(out_ptr-1, backup_holes); - k++; - } - holes = gen_left(arg->one_left); - true_holes = append(true_holes, holes); - out_int(OTP_GOTO, out_ptr+2); - fill_in(true_holes); - out_int(OTP_LEFT_BACKUP, 0); - fill_in(backup_holes); - return false_holes; -case BEGINNINGLEFT: - out_int(OTP_GOTO_BEG, 0); - true_holes=list1(out_ptr-1); - out_int(OTP_GOTO, 0); - false_holes=list1(out_ptr-1); - fill_in(true_holes); - return false_holes; -case ENDLEFT: - out_int(OTP_GOTO_END, 0); - true_holes=list1(out_ptr-1); - out_int(OTP_GOTO, 0); - false_holes=list1(out_ptr-1); - fill_in(true_holes); - return false_holes; -default: - FATAL1 ("unrecognized left: %d", arg->kind); -} -} - -void -store_alias(string str, left l) -{ -int i; -for (i=0; i<no_aliases; i++) { - if (!strcmp(str,aliases[i].str)) { - FATAL1 ("alias %s already defined", str); - } -} -aliases[i].str=xstrdup(str); -aliases[i].left_val=l; -no_aliases++; -} - -left -lookup_alias(string str) -{ -int i; -for (i=0; i<no_aliases; i++) { - if (!strcmp(str,aliases[i].str)) { - return aliases[i].left_val; - } -} -FATAL1 ("alias %s not defined", str); -} - -void -out_left(llist L) -{ -llist p; -list holes; -if ((states[cur_state].no_exprs)==1) { - out_int(OTP_LEFT_START, 0); -} else { - out_int(OTP_LEFT_RETURN, 0); -} -p=L; -left_false_holes=nil; -while (p!=nil) { - holes = gen_left(p->val); - if ((p->ptr != nil) && - ((p->val)->kind !=BEGINNINGLEFT) && - (((p->ptr)->val)->kind !=ENDLEFT)) { - out_int(OTP_GOTO_NO_ADVANCE, 0); - left_false_holes = cons(out_ptr-1,left_false_holes); - } - left_false_holes = append(left_false_holes, holes); - p=p->ptr; -} -} - -void -fill_in_left(void) -{ - out_int(OTP_STOP, 0); - fill_in(left_false_holes); -} - -void -fill_in(list L) -{ -list p; -p=L; -while (p!=0) { - out_array[p->val] = out_array[p->val] + out_ptr; - p=p->ptr; -} -} - -void -out_right(int instr, int val) -{ -out_int(instr+right_offset, val); -} - -void -out_int(int instr, int val) -{ -if (val>=(1<<24)) { - FATAL1 ("Argument (%d) of instruction too big", val); -} -add_to_state((instr<<24)+val); -} - -void -store_state(const_string str) -{ -int i; -for (i=0; i<no_states; i++) { - if (!strcmp(str,states[i].str)) { - FATAL1 ("state %s already defined", str); - } -} -states[i].str=xstrdup(str); -states[i].length=0; -states[i].no_exprs=0; -cur_state=i; -no_states++; -} - -int -lookup_state(string str) -{ -int i; -for (i=0; i<no_states; i++) { - if (!strcmp(str,states[i].str)) { - return i; - } -} -FATAL1 ("state %s not defined", str); -} - -void -add_to_state(int x) -{ -int len; -len = states[cur_state].length; -if (len > ARRAY_SIZE) { - char * str = states[cur_state].str; - FATAL2 ("%s state has too many instructions: %d", str, len); -} -(states[cur_state].instrs)[len] = x; -states[cur_state].length = len+1; -} - -void -store_table(string str, int len) -{ -int i; -for (i=0; i<no_tables; i++) { - if (!strcmp(str,tables[i].str)) { - FATAL1 ("table %s already defined", str); - } -} -tables[i].str=xstrdup(str); -tables[i].length=0; -cur_table=i; -no_tables++; -} - -void -add_to_table(int x) -{ -int len; -len = tables[cur_table].length; -(tables[cur_table].table)[len] = x; -tables[cur_table].length = len+1; -} - -int -lookup_table(string str) -{ -int i; -for (i=0; i<no_tables; i++) { - if (!strcmp(str,tables[i].str)) { - return i; - } -} -FATAL1 ("table %s not defined", str); -} - diff --git a/Build/source/texk/web2c/otps/routines.h b/Build/source/texk/web2c/otps/routines.h deleted file mode 100644 index a0e4485dc3a..00000000000 --- a/Build/source/texk/web2c/otps/routines.h +++ /dev/null @@ -1,152 +0,0 @@ -/* routines.h: Generating the finite state automaton - -This file is part of Omega, -which is based on the web2c distribution of TeX, - -Copyright (c) 1994--2001 John Plaice and Yannis Haralambous -Copyright (C) 2005 Roozbeh Pournader - -Omega is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -Omega is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with Omega; if not, write to the Free Software Foundation, Inc., -59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -*/ - -#ifdef HAVE_CONFIG_H -#include <w2c/config.h> -#endif -#ifdef KPATHSEA -#include <kpathsea/config.h> -#include <kpathsea/c-memstr.h> -#include <kpathsea/c-std.h> -#else /* !KPATHSEA */ -#include <stdio.h> -#include <string.h> -#ifdef __STDC__ -#include <stdlib.h> -#else -extern void exit(); -#endif -#endif /* KPATHSEA */ - -#define nil 0 - -#define WILDCARD 0 -#define STRINGLEFT 1 -#define SINGLELEFT 2 -#define DOUBLELEFT 3 -#define CHOICELEFT 4 -#define NOTCHOICELEFT 5 -#define PLUSLEFT 6 -#define COMPLETELEFT 7 -#define BEGINNINGLEFT 8 -#define ENDLEFT 9 - -extern int yyparse(void); -extern int yylex(void); -extern int yywrap(void); - -extern int line_number; - -/* linked list of ints */ -typedef struct cell_struct {struct cell_struct *ptr; - int val; } cell; -typedef cell *list; - -typedef struct left_cell { - int kind; - int val1, val2; - char *valstr; - struct lcell_struct *more_lefts; - struct left_cell *one_left; -} lft_cell; -typedef lft_cell *left; - -/* linked list of lefts */ -typedef struct lcell_struct {struct lcell_struct *ptr; - left val; } lcell; -typedef lcell *llist; - -extern list cons(int x, list L); -extern list list1(int x); -extern list list2(int x, int y); -extern list append(list K, list L); -extern list append1(list L, int x); - -extern llist lcons(left x, llist L); -extern llist llist1(left x); -extern llist llist2(left x, left y); -extern llist lappend(llist K, llist L); -extern llist lappend1(llist L, left x); - -extern left WildCard(void); -extern left StringLeft(char *x); -extern left SingleLeft(int x); -extern left DoubleLeft(int x, int y); -extern left ChoiceLeft(llist L); -extern left NotChoiceLeft(llist L); -extern left PlusLeft(left l, int n); -extern left CompleteLeft(left l, int n, int m); -extern left BeginningLeft(void); -extern left EndLeft(void); -extern list gen_left(left arg); - -extern int no_lefts; -extern void store_alias(string str, left l); -extern left lookup_alias(string str); -extern void out_left(llist L); -extern void fill_in_left(void); - -#define ARRAY_SIZE 50000 -typedef struct { - int length; - char * str; - int table[ARRAY_SIZE]; -} table_type; - -extern int no_tables; -extern int cur_table; -extern int room_for_tables; -extern table_type tables[]; -extern void add_to_table(int x); - -typedef struct { - int length; - char * str; - int no_exprs; - int instrs[ARRAY_SIZE]; -} state_type; - -extern int no_states; -extern int cur_state; -extern int room_for_states; -extern state_type states[]; -extern void add_to_state(int x); - -extern void fill_in(list L); -extern void out_int(int instr, int val); -extern void out_right(int instr, int val); - -extern void store_state(const_string str); -extern int lookup_state(string str); -extern void store_table(string str, int len); -extern int lookup_table(string str); - -typedef struct { char * str; left left_val; } alias_pair; - -extern alias_pair aliases[]; - -extern int right_offset; -extern int input_bytes; -extern int output_bytes; - diff --git a/Build/source/texk/web2c/otps/uni2lat.ocp b/Build/source/texk/web2c/otps/uni2lat.ocp Binary files differdeleted file mode 100644 index b4bc37ea0b7..00000000000 --- a/Build/source/texk/web2c/otps/uni2lat.ocp +++ /dev/null diff --git a/Build/source/texk/web2c/otps/uni2lat.otp b/Build/source/texk/web2c/otps/uni2lat.otp deleted file mode 100644 index f7597733251..00000000000 --- a/Build/source/texk/web2c/otps/uni2lat.otp +++ /dev/null @@ -1,89 +0,0 @@ -input: 2; -output: 2; - -expressions: - -%`f'`f'`i'`j' => @"022C; % for Dutch only -`f'`f'`i' => @"0223; -`f'`f'`l' => @"0224; -`f'`f'`j' => @"022A; -`f'`f'@"012F => @"0226; -`f'`f'@"0142 => @"0228; -`f'`f'@"013A => @"022E; -`f'`f'@"013C => @"0230; -`f'`f'@"013E => @"0232; -`f'`f'@"0140 => @"0234; -`f'`f' => @"0220; -%`f'`i'`j' => @"022B; % for Dutch only -`f'`i' => @"0221; -`f'`l' => @"0222; -`f'`j' => @"0229; -`f'@"012F => @"0225; -`f'@"0142 => @"0227; -`f'@"013A => @"022D; -`f'@"013C => @"022F; -`f'@"013E => @"0231; -`f'@"0140 => @"0233; -% -% s-long ligatures -% -@"017F@"017F`i' => @"0238; -@"017F@"017F`l' => @"0239; -@"017F@"017F => @"0235; -@"017F`i' => @"0236; -@"017F`l' => @"0237; -% French calligraphic ones -%`s'`t' => @"023A; -%`c'`t' => @"023B; - -% -% Tifinagh ligatures -% -% slanted l and n -(@"0C4E|@"0C4C)(@"0C45|@"0C4F)@"0C4E => #(\1) @"0C82 ; -(@"0C4E|@"0C4C)@"0C4E => #(\1) @"0C82 ; -(@"0C4E|@"0C4C)(@"0C45|@"0C4F)@"0C4C => #(\1) @"0C81 ; -(@"0C4E|@"0C4C)@"0C4C => #(\1) @"0C81 ; -% ng -@"0C4E(@"0C45|@"0C4F)@"0C47 => @"0C80 ; -@"0C4E@"0C47 => @"0C80 ; -% bt, ct, etc. -@"0C42(@"0C45|@"0C4F)@"0C54 => @"0C83 ; -@"0C42@"0C54 => @"0C83 ; -@"0C43(@"0C45|@"0C4F)@"0C54 => @"0C84 ; -@"0C43@"0C54 => @"0C84 ; -@"0C47(@"0C45|@"0C4F)@"0C54 => @"0C86 ; -@"0C47@"0C54 => @"0C86 ; -@"0C4D(@"0C45|@"0C4F)@"0C54 => @"0C87 ; -@"0C4D@"0C54 => @"0C87 ; -@"0C52(@"0C45|@"0C4F)@"0C54 => @"0C88 ; -@"0C52@"0C54 => @"0C88 ; -@"0C53(@"0C45|@"0C4F)@"0C54 => @"0C89 ; -@"0C53@"0C54 => @"0C89 ; -@"0C7A(@"0C45|@"0C4F)@"0C54 => @"0C8A ; -@"0C7A@"0C54 => @"0C8A ; - -@"2010-@"2046 => #(\1 - @"1000); - -% -% Latin extended additional (0600-06FF) -% -@"1E00-@"1EFF => #(\1 - @"1800); - -% -% Verbatim mode -@"F023 => @"0083; -@"F024 => @"0084; -@"F025 => @"0085; -@"F026 => @"0086; -@"F07B => @"008B; -@"F05C => @"008C; -@"F07D => @"008D; -@"F05E => @"008E; -@"F05F => @"008F; -@"F07E => @"0080; -@"F000-@"F07F => "\string" #(\1 - @"F000) ; - -. => \1; - - diff --git a/Build/source/texk/web2c/otps/uni2lat.out b/Build/source/texk/web2c/otps/uni2lat.out deleted file mode 100644 index 525f4355f78..00000000000 --- a/Build/source/texk/web2c/otps/uni2lat.out +++ /dev/null @@ -1,572 +0,0 @@ -ctp_length : 236(566) -real_ctp_length: 22f(559) -ctp_input : 2( 2) -ctp_output : 2( 2) -ctp_no_tables : 0( 0) -ctp_room_tables: 0( 0) -ctp_no_states : 1( 1) -ctp_room_states: 22e(558) - -State 0( 0): 22e(558) entries - -State 0( 0), entry 0( 0): OTP_LEFT_START 0( 0) -State 0( 0), entry 1( 1): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 2( 2): b( 11) -State 0( 0), entry 3( 3): OTP_GOTO_NO_ADVANCE b( 11) -State 0( 0), entry 4( 4): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 5( 5): b( 11) -State 0( 0), entry 6( 6): OTP_GOTO_NO_ADVANCE b( 11) -State 0( 0), entry 7( 7): OTP_GOTO_NE 69(105,`i') -State 0( 0), entry 8( 8): b( 11) -State 0( 0), entry 9( 9): OTP_RIGHT_NUM 223(547) -State 0( 0), entry a( 10): OTP_STOP 0( 0) -State 0( 0), entry b( 11): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry c( 12): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry d( 13): 16( 22) -State 0( 0), entry e( 14): OTP_GOTO_NO_ADVANCE 16( 22) -State 0( 0), entry f( 15): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 10( 16): 16( 22) -State 0( 0), entry 11( 17): OTP_GOTO_NO_ADVANCE 16( 22) -State 0( 0), entry 12( 18): OTP_GOTO_NE 6c(108,`l') -State 0( 0), entry 13( 19): 16( 22) -State 0( 0), entry 14( 20): OTP_RIGHT_NUM 224(548) -State 0( 0), entry 15( 21): OTP_STOP 0( 0) -State 0( 0), entry 16( 22): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 17( 23): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 18( 24): 21( 33,`!') -State 0( 0), entry 19( 25): OTP_GOTO_NO_ADVANCE 21( 33,`!') -State 0( 0), entry 1a( 26): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 1b( 27): 21( 33,`!') -State 0( 0), entry 1c( 28): OTP_GOTO_NO_ADVANCE 21( 33,`!') -State 0( 0), entry 1d( 29): OTP_GOTO_NE 6a(106,`j') -State 0( 0), entry 1e( 30): 21( 33,`!') -State 0( 0), entry 1f( 31): OTP_RIGHT_NUM 22a(554) -State 0( 0), entry 20( 32): OTP_STOP 0( 0) -State 0( 0), entry 21( 33): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 22( 34): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 23( 35): 2c( 44,`,') -State 0( 0), entry 24( 36): OTP_GOTO_NO_ADVANCE 2c( 44,`,') -State 0( 0), entry 25( 37): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 26( 38): 2c( 44,`,') -State 0( 0), entry 27( 39): OTP_GOTO_NO_ADVANCE 2c( 44,`,') -State 0( 0), entry 28( 40): OTP_GOTO_NE 12f(303) -State 0( 0), entry 29( 41): 2c( 44,`,') -State 0( 0), entry 2a( 42): OTP_RIGHT_NUM 226(550) -State 0( 0), entry 2b( 43): OTP_STOP 0( 0) -State 0( 0), entry 2c( 44): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 2d( 45): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 2e( 46): 37( 55,`7') -State 0( 0), entry 2f( 47): OTP_GOTO_NO_ADVANCE 37( 55,`7') -State 0( 0), entry 30( 48): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 31( 49): 37( 55,`7') -State 0( 0), entry 32( 50): OTP_GOTO_NO_ADVANCE 37( 55,`7') -State 0( 0), entry 33( 51): OTP_GOTO_NE 142(322) -State 0( 0), entry 34( 52): 37( 55,`7') -State 0( 0), entry 35( 53): OTP_RIGHT_NUM 228(552) -State 0( 0), entry 36( 54): OTP_STOP 0( 0) -State 0( 0), entry 37( 55): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 38( 56): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 39( 57): 42( 66,`B') -State 0( 0), entry 3a( 58): OTP_GOTO_NO_ADVANCE 42( 66,`B') -State 0( 0), entry 3b( 59): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 3c( 60): 42( 66,`B') -State 0( 0), entry 3d( 61): OTP_GOTO_NO_ADVANCE 42( 66,`B') -State 0( 0), entry 3e( 62): OTP_GOTO_NE 13a(314) -State 0( 0), entry 3f( 63): 42( 66,`B') -State 0( 0), entry 40( 64): OTP_RIGHT_NUM 22e(558) -State 0( 0), entry 41( 65): OTP_STOP 0( 0) -State 0( 0), entry 42( 66): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 43( 67): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 44( 68): 4d( 77,`M') -State 0( 0), entry 45( 69): OTP_GOTO_NO_ADVANCE 4d( 77,`M') -State 0( 0), entry 46( 70): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 47( 71): 4d( 77,`M') -State 0( 0), entry 48( 72): OTP_GOTO_NO_ADVANCE 4d( 77,`M') -State 0( 0), entry 49( 73): OTP_GOTO_NE 13c(316) -State 0( 0), entry 4a( 74): 4d( 77,`M') -State 0( 0), entry 4b( 75): OTP_RIGHT_NUM 230(560) -State 0( 0), entry 4c( 76): OTP_STOP 0( 0) -State 0( 0), entry 4d( 77): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 4e( 78): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 4f( 79): 58( 88,`X') -State 0( 0), entry 50( 80): OTP_GOTO_NO_ADVANCE 58( 88,`X') -State 0( 0), entry 51( 81): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 52( 82): 58( 88,`X') -State 0( 0), entry 53( 83): OTP_GOTO_NO_ADVANCE 58( 88,`X') -State 0( 0), entry 54( 84): OTP_GOTO_NE 13e(318) -State 0( 0), entry 55( 85): 58( 88,`X') -State 0( 0), entry 56( 86): OTP_RIGHT_NUM 232(562) -State 0( 0), entry 57( 87): OTP_STOP 0( 0) -State 0( 0), entry 58( 88): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 59( 89): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 5a( 90): 63( 99,`c') -State 0( 0), entry 5b( 91): OTP_GOTO_NO_ADVANCE 63( 99,`c') -State 0( 0), entry 5c( 92): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 5d( 93): 63( 99,`c') -State 0( 0), entry 5e( 94): OTP_GOTO_NO_ADVANCE 63( 99,`c') -State 0( 0), entry 5f( 95): OTP_GOTO_NE 140(320) -State 0( 0), entry 60( 96): 63( 99,`c') -State 0( 0), entry 61( 97): OTP_RIGHT_NUM 234(564) -State 0( 0), entry 62( 98): OTP_STOP 0( 0) -State 0( 0), entry 63( 99): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 64(100): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 65(101): 6b(107,`k') -State 0( 0), entry 66(102): OTP_GOTO_NO_ADVANCE 6b(107,`k') -State 0( 0), entry 67(103): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 68(104): 6b(107,`k') -State 0( 0), entry 69(105): OTP_RIGHT_NUM 220(544) -State 0( 0), entry 6a(106): OTP_STOP 0( 0) -State 0( 0), entry 6b(107): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 6c(108): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 6d(109): 73(115,`s') -State 0( 0), entry 6e(110): OTP_GOTO_NO_ADVANCE 73(115,`s') -State 0( 0), entry 6f(111): OTP_GOTO_NE 69(105,`i') -State 0( 0), entry 70(112): 73(115,`s') -State 0( 0), entry 71(113): OTP_RIGHT_NUM 221(545) -State 0( 0), entry 72(114): OTP_STOP 0( 0) -State 0( 0), entry 73(115): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 74(116): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 75(117): 7b(123,`{') -State 0( 0), entry 76(118): OTP_GOTO_NO_ADVANCE 7b(123,`{') -State 0( 0), entry 77(119): OTP_GOTO_NE 6c(108,`l') -State 0( 0), entry 78(120): 7b(123,`{') -State 0( 0), entry 79(121): OTP_RIGHT_NUM 222(546) -State 0( 0), entry 7a(122): OTP_STOP 0( 0) -State 0( 0), entry 7b(123): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 7c(124): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 7d(125): 83(131) -State 0( 0), entry 7e(126): OTP_GOTO_NO_ADVANCE 83(131) -State 0( 0), entry 7f(127): OTP_GOTO_NE 6a(106,`j') -State 0( 0), entry 80(128): 83(131) -State 0( 0), entry 81(129): OTP_RIGHT_NUM 229(553) -State 0( 0), entry 82(130): OTP_STOP 0( 0) -State 0( 0), entry 83(131): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 84(132): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 85(133): 8b(139) -State 0( 0), entry 86(134): OTP_GOTO_NO_ADVANCE 8b(139) -State 0( 0), entry 87(135): OTP_GOTO_NE 12f(303) -State 0( 0), entry 88(136): 8b(139) -State 0( 0), entry 89(137): OTP_RIGHT_NUM 225(549) -State 0( 0), entry 8a(138): OTP_STOP 0( 0) -State 0( 0), entry 8b(139): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 8c(140): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 8d(141): 93(147) -State 0( 0), entry 8e(142): OTP_GOTO_NO_ADVANCE 93(147) -State 0( 0), entry 8f(143): OTP_GOTO_NE 142(322) -State 0( 0), entry 90(144): 93(147) -State 0( 0), entry 91(145): OTP_RIGHT_NUM 227(551) -State 0( 0), entry 92(146): OTP_STOP 0( 0) -State 0( 0), entry 93(147): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 94(148): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 95(149): 9b(155) -State 0( 0), entry 96(150): OTP_GOTO_NO_ADVANCE 9b(155) -State 0( 0), entry 97(151): OTP_GOTO_NE 13a(314) -State 0( 0), entry 98(152): 9b(155) -State 0( 0), entry 99(153): OTP_RIGHT_NUM 22d(557) -State 0( 0), entry 9a(154): OTP_STOP 0( 0) -State 0( 0), entry 9b(155): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 9c(156): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry 9d(157): a3(163) -State 0( 0), entry 9e(158): OTP_GOTO_NO_ADVANCE a3(163) -State 0( 0), entry 9f(159): OTP_GOTO_NE 13c(316) -State 0( 0), entry a0(160): a3(163) -State 0( 0), entry a1(161): OTP_RIGHT_NUM 22f(559) -State 0( 0), entry a2(162): OTP_STOP 0( 0) -State 0( 0), entry a3(163): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry a4(164): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry a5(165): ab(171) -State 0( 0), entry a6(166): OTP_GOTO_NO_ADVANCE ab(171) -State 0( 0), entry a7(167): OTP_GOTO_NE 13e(318) -State 0( 0), entry a8(168): ab(171) -State 0( 0), entry a9(169): OTP_RIGHT_NUM 231(561) -State 0( 0), entry aa(170): OTP_STOP 0( 0) -State 0( 0), entry ab(171): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry ac(172): OTP_GOTO_NE 66(102,`f') -State 0( 0), entry ad(173): b3(179) -State 0( 0), entry ae(174): OTP_GOTO_NO_ADVANCE b3(179) -State 0( 0), entry af(175): OTP_GOTO_NE 140(320) -State 0( 0), entry b0(176): b3(179) -State 0( 0), entry b1(177): OTP_RIGHT_NUM 233(563) -State 0( 0), entry b2(178): OTP_STOP 0( 0) -State 0( 0), entry b3(179): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry b4(180): OTP_GOTO_NE 17f(383) -State 0( 0), entry b5(181): be(190) -State 0( 0), entry b6(182): OTP_GOTO_NO_ADVANCE be(190) -State 0( 0), entry b7(183): OTP_GOTO_NE 17f(383) -State 0( 0), entry b8(184): be(190) -State 0( 0), entry b9(185): OTP_GOTO_NO_ADVANCE be(190) -State 0( 0), entry ba(186): OTP_GOTO_NE 69(105,`i') -State 0( 0), entry bb(187): be(190) -State 0( 0), entry bc(188): OTP_RIGHT_NUM 238(568) -State 0( 0), entry bd(189): OTP_STOP 0( 0) -State 0( 0), entry be(190): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry bf(191): OTP_GOTO_NE 17f(383) -State 0( 0), entry c0(192): c9(201) -State 0( 0), entry c1(193): OTP_GOTO_NO_ADVANCE c9(201) -State 0( 0), entry c2(194): OTP_GOTO_NE 17f(383) -State 0( 0), entry c3(195): c9(201) -State 0( 0), entry c4(196): OTP_GOTO_NO_ADVANCE c9(201) -State 0( 0), entry c5(197): OTP_GOTO_NE 6c(108,`l') -State 0( 0), entry c6(198): c9(201) -State 0( 0), entry c7(199): OTP_RIGHT_NUM 239(569) -State 0( 0), entry c8(200): OTP_STOP 0( 0) -State 0( 0), entry c9(201): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry ca(202): OTP_GOTO_NE 17f(383) -State 0( 0), entry cb(203): d1(209) -State 0( 0), entry cc(204): OTP_GOTO_NO_ADVANCE d1(209) -State 0( 0), entry cd(205): OTP_GOTO_NE 17f(383) -State 0( 0), entry ce(206): d1(209) -State 0( 0), entry cf(207): OTP_RIGHT_NUM 235(565) -State 0( 0), entry d0(208): OTP_STOP 0( 0) -State 0( 0), entry d1(209): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry d2(210): OTP_GOTO_NE 17f(383) -State 0( 0), entry d3(211): d9(217) -State 0( 0), entry d4(212): OTP_GOTO_NO_ADVANCE d9(217) -State 0( 0), entry d5(213): OTP_GOTO_NE 69(105,`i') -State 0( 0), entry d6(214): d9(217) -State 0( 0), entry d7(215): OTP_RIGHT_NUM 236(566) -State 0( 0), entry d8(216): OTP_STOP 0( 0) -State 0( 0), entry d9(217): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry da(218): OTP_GOTO_NE 17f(383) -State 0( 0), entry db(219): e1(225) -State 0( 0), entry dc(220): OTP_GOTO_NO_ADVANCE e1(225) -State 0( 0), entry dd(221): OTP_GOTO_NE 6c(108,`l') -State 0( 0), entry de(222): e1(225) -State 0( 0), entry df(223): OTP_RIGHT_NUM 237(567) -State 0( 0), entry e0(224): OTP_STOP 0( 0) -State 0( 0), entry e1(225): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry e2(226): OTP_GOTO_NE c4e(3150) -State 0( 0), entry e3(227): e5(229) -State 0( 0), entry e4(228): OTP_GOTO e7(231) -State 0( 0), entry e5(229): OTP_GOTO_NE c4c(3148) -State 0( 0), entry e6(230): f4(244) -State 0( 0), entry e7(231): OTP_GOTO_NO_ADVANCE f4(244) -State 0( 0), entry e8(232): OTP_GOTO_NE c45(3141) -State 0( 0), entry e9(233): eb(235) -State 0( 0), entry ea(234): OTP_GOTO ed(237) -State 0( 0), entry eb(235): OTP_GOTO_NE c4f(3151) -State 0( 0), entry ec(236): f4(244) -State 0( 0), entry ed(237): OTP_GOTO_NO_ADVANCE f4(244) -State 0( 0), entry ee(238): OTP_GOTO_NE c4e(3150) -State 0( 0), entry ef(239): f4(244) -State 0( 0), entry f0(240): OTP_PUSH_CHAR 1( 1) -State 0( 0), entry f1(241): OTP_RIGHT_OUTPUT 0( 0) -State 0( 0), entry f2(242): OTP_RIGHT_NUM c82(3202) -State 0( 0), entry f3(243): OTP_STOP 0( 0) -State 0( 0), entry f4(244): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry f5(245): OTP_GOTO_NE c4e(3150) -State 0( 0), entry f6(246): f8(248) -State 0( 0), entry f7(247): OTP_GOTO fa(250) -State 0( 0), entry f8(248): OTP_GOTO_NE c4c(3148) -State 0( 0), entry f9(249): 101(257) -State 0( 0), entry fa(250): OTP_GOTO_NO_ADVANCE 101(257) -State 0( 0), entry fb(251): OTP_GOTO_NE c4e(3150) -State 0( 0), entry fc(252): 101(257) -State 0( 0), entry fd(253): OTP_PUSH_CHAR 1( 1) -State 0( 0), entry fe(254): OTP_RIGHT_OUTPUT 0( 0) -State 0( 0), entry ff(255): OTP_RIGHT_NUM c82(3202) -State 0( 0), entry 100(256): OTP_STOP 0( 0) -State 0( 0), entry 101(257): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 102(258): OTP_GOTO_NE c4e(3150) -State 0( 0), entry 103(259): 105(261) -State 0( 0), entry 104(260): OTP_GOTO 107(263) -State 0( 0), entry 105(261): OTP_GOTO_NE c4c(3148) -State 0( 0), entry 106(262): 114(276) -State 0( 0), entry 107(263): OTP_GOTO_NO_ADVANCE 114(276) -State 0( 0), entry 108(264): OTP_GOTO_NE c45(3141) -State 0( 0), entry 109(265): 10b(267) -State 0( 0), entry 10a(266): OTP_GOTO 10d(269) -State 0( 0), entry 10b(267): OTP_GOTO_NE c4f(3151) -State 0( 0), entry 10c(268): 114(276) -State 0( 0), entry 10d(269): OTP_GOTO_NO_ADVANCE 114(276) -State 0( 0), entry 10e(270): OTP_GOTO_NE c4c(3148) -State 0( 0), entry 10f(271): 114(276) -State 0( 0), entry 110(272): OTP_PUSH_CHAR 1( 1) -State 0( 0), entry 111(273): OTP_RIGHT_OUTPUT 0( 0) -State 0( 0), entry 112(274): OTP_RIGHT_NUM c81(3201) -State 0( 0), entry 113(275): OTP_STOP 0( 0) -State 0( 0), entry 114(276): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 115(277): OTP_GOTO_NE c4e(3150) -State 0( 0), entry 116(278): 118(280) -State 0( 0), entry 117(279): OTP_GOTO 11a(282) -State 0( 0), entry 118(280): OTP_GOTO_NE c4c(3148) -State 0( 0), entry 119(281): 121(289) -State 0( 0), entry 11a(282): OTP_GOTO_NO_ADVANCE 121(289) -State 0( 0), entry 11b(283): OTP_GOTO_NE c4c(3148) -State 0( 0), entry 11c(284): 121(289) -State 0( 0), entry 11d(285): OTP_PUSH_CHAR 1( 1) -State 0( 0), entry 11e(286): OTP_RIGHT_OUTPUT 0( 0) -State 0( 0), entry 11f(287): OTP_RIGHT_NUM c81(3201) -State 0( 0), entry 120(288): OTP_STOP 0( 0) -State 0( 0), entry 121(289): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 122(290): OTP_GOTO_NE c4e(3150) -State 0( 0), entry 123(291): 12f(303) -State 0( 0), entry 124(292): OTP_GOTO_NO_ADVANCE 12f(303) -State 0( 0), entry 125(293): OTP_GOTO_NE c45(3141) -State 0( 0), entry 126(294): 128(296) -State 0( 0), entry 127(295): OTP_GOTO 12a(298) -State 0( 0), entry 128(296): OTP_GOTO_NE c4f(3151) -State 0( 0), entry 129(297): 12f(303) -State 0( 0), entry 12a(298): OTP_GOTO_NO_ADVANCE 12f(303) -State 0( 0), entry 12b(299): OTP_GOTO_NE c47(3143) -State 0( 0), entry 12c(300): 12f(303) -State 0( 0), entry 12d(301): OTP_RIGHT_NUM c80(3200) -State 0( 0), entry 12e(302): OTP_STOP 0( 0) -State 0( 0), entry 12f(303): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 130(304): OTP_GOTO_NE c4e(3150) -State 0( 0), entry 131(305): 137(311) -State 0( 0), entry 132(306): OTP_GOTO_NO_ADVANCE 137(311) -State 0( 0), entry 133(307): OTP_GOTO_NE c47(3143) -State 0( 0), entry 134(308): 137(311) -State 0( 0), entry 135(309): OTP_RIGHT_NUM c80(3200) -State 0( 0), entry 136(310): OTP_STOP 0( 0) -State 0( 0), entry 137(311): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 138(312): OTP_GOTO_NE c42(3138) -State 0( 0), entry 139(313): 145(325) -State 0( 0), entry 13a(314): OTP_GOTO_NO_ADVANCE 145(325) -State 0( 0), entry 13b(315): OTP_GOTO_NE c45(3141) -State 0( 0), entry 13c(316): 13e(318) -State 0( 0), entry 13d(317): OTP_GOTO 140(320) -State 0( 0), entry 13e(318): OTP_GOTO_NE c4f(3151) -State 0( 0), entry 13f(319): 145(325) -State 0( 0), entry 140(320): OTP_GOTO_NO_ADVANCE 145(325) -State 0( 0), entry 141(321): OTP_GOTO_NE c54(3156) -State 0( 0), entry 142(322): 145(325) -State 0( 0), entry 143(323): OTP_RIGHT_NUM c83(3203) -State 0( 0), entry 144(324): OTP_STOP 0( 0) -State 0( 0), entry 145(325): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 146(326): OTP_GOTO_NE c42(3138) -State 0( 0), entry 147(327): 14d(333) -State 0( 0), entry 148(328): OTP_GOTO_NO_ADVANCE 14d(333) -State 0( 0), entry 149(329): OTP_GOTO_NE c54(3156) -State 0( 0), entry 14a(330): 14d(333) -State 0( 0), entry 14b(331): OTP_RIGHT_NUM c83(3203) -State 0( 0), entry 14c(332): OTP_STOP 0( 0) -State 0( 0), entry 14d(333): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 14e(334): OTP_GOTO_NE c43(3139) -State 0( 0), entry 14f(335): 15b(347) -State 0( 0), entry 150(336): OTP_GOTO_NO_ADVANCE 15b(347) -State 0( 0), entry 151(337): OTP_GOTO_NE c45(3141) -State 0( 0), entry 152(338): 154(340) -State 0( 0), entry 153(339): OTP_GOTO 156(342) -State 0( 0), entry 154(340): OTP_GOTO_NE c4f(3151) -State 0( 0), entry 155(341): 15b(347) -State 0( 0), entry 156(342): OTP_GOTO_NO_ADVANCE 15b(347) -State 0( 0), entry 157(343): OTP_GOTO_NE c54(3156) -State 0( 0), entry 158(344): 15b(347) -State 0( 0), entry 159(345): OTP_RIGHT_NUM c84(3204) -State 0( 0), entry 15a(346): OTP_STOP 0( 0) -State 0( 0), entry 15b(347): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 15c(348): OTP_GOTO_NE c43(3139) -State 0( 0), entry 15d(349): 163(355) -State 0( 0), entry 15e(350): OTP_GOTO_NO_ADVANCE 163(355) -State 0( 0), entry 15f(351): OTP_GOTO_NE c54(3156) -State 0( 0), entry 160(352): 163(355) -State 0( 0), entry 161(353): OTP_RIGHT_NUM c84(3204) -State 0( 0), entry 162(354): OTP_STOP 0( 0) -State 0( 0), entry 163(355): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 164(356): OTP_GOTO_NE c47(3143) -State 0( 0), entry 165(357): 171(369) -State 0( 0), entry 166(358): OTP_GOTO_NO_ADVANCE 171(369) -State 0( 0), entry 167(359): OTP_GOTO_NE c45(3141) -State 0( 0), entry 168(360): 16a(362) -State 0( 0), entry 169(361): OTP_GOTO 16c(364) -State 0( 0), entry 16a(362): OTP_GOTO_NE c4f(3151) -State 0( 0), entry 16b(363): 171(369) -State 0( 0), entry 16c(364): OTP_GOTO_NO_ADVANCE 171(369) -State 0( 0), entry 16d(365): OTP_GOTO_NE c54(3156) -State 0( 0), entry 16e(366): 171(369) -State 0( 0), entry 16f(367): OTP_RIGHT_NUM c86(3206) -State 0( 0), entry 170(368): OTP_STOP 0( 0) -State 0( 0), entry 171(369): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 172(370): OTP_GOTO_NE c47(3143) -State 0( 0), entry 173(371): 179(377) -State 0( 0), entry 174(372): OTP_GOTO_NO_ADVANCE 179(377) -State 0( 0), entry 175(373): OTP_GOTO_NE c54(3156) -State 0( 0), entry 176(374): 179(377) -State 0( 0), entry 177(375): OTP_RIGHT_NUM c86(3206) -State 0( 0), entry 178(376): OTP_STOP 0( 0) -State 0( 0), entry 179(377): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 17a(378): OTP_GOTO_NE c4d(3149) -State 0( 0), entry 17b(379): 187(391) -State 0( 0), entry 17c(380): OTP_GOTO_NO_ADVANCE 187(391) -State 0( 0), entry 17d(381): OTP_GOTO_NE c45(3141) -State 0( 0), entry 17e(382): 180(384) -State 0( 0), entry 17f(383): OTP_GOTO 182(386) -State 0( 0), entry 180(384): OTP_GOTO_NE c4f(3151) -State 0( 0), entry 181(385): 187(391) -State 0( 0), entry 182(386): OTP_GOTO_NO_ADVANCE 187(391) -State 0( 0), entry 183(387): OTP_GOTO_NE c54(3156) -State 0( 0), entry 184(388): 187(391) -State 0( 0), entry 185(389): OTP_RIGHT_NUM c87(3207) -State 0( 0), entry 186(390): OTP_STOP 0( 0) -State 0( 0), entry 187(391): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 188(392): OTP_GOTO_NE c4d(3149) -State 0( 0), entry 189(393): 18f(399) -State 0( 0), entry 18a(394): OTP_GOTO_NO_ADVANCE 18f(399) -State 0( 0), entry 18b(395): OTP_GOTO_NE c54(3156) -State 0( 0), entry 18c(396): 18f(399) -State 0( 0), entry 18d(397): OTP_RIGHT_NUM c87(3207) -State 0( 0), entry 18e(398): OTP_STOP 0( 0) -State 0( 0), entry 18f(399): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 190(400): OTP_GOTO_NE c52(3154) -State 0( 0), entry 191(401): 19d(413) -State 0( 0), entry 192(402): OTP_GOTO_NO_ADVANCE 19d(413) -State 0( 0), entry 193(403): OTP_GOTO_NE c45(3141) -State 0( 0), entry 194(404): 196(406) -State 0( 0), entry 195(405): OTP_GOTO 198(408) -State 0( 0), entry 196(406): OTP_GOTO_NE c4f(3151) -State 0( 0), entry 197(407): 19d(413) -State 0( 0), entry 198(408): OTP_GOTO_NO_ADVANCE 19d(413) -State 0( 0), entry 199(409): OTP_GOTO_NE c54(3156) -State 0( 0), entry 19a(410): 19d(413) -State 0( 0), entry 19b(411): OTP_RIGHT_NUM c88(3208) -State 0( 0), entry 19c(412): OTP_STOP 0( 0) -State 0( 0), entry 19d(413): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 19e(414): OTP_GOTO_NE c52(3154) -State 0( 0), entry 19f(415): 1a5(421) -State 0( 0), entry 1a0(416): OTP_GOTO_NO_ADVANCE 1a5(421) -State 0( 0), entry 1a1(417): OTP_GOTO_NE c54(3156) -State 0( 0), entry 1a2(418): 1a5(421) -State 0( 0), entry 1a3(419): OTP_RIGHT_NUM c88(3208) -State 0( 0), entry 1a4(420): OTP_STOP 0( 0) -State 0( 0), entry 1a5(421): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 1a6(422): OTP_GOTO_NE c53(3155) -State 0( 0), entry 1a7(423): 1b3(435) -State 0( 0), entry 1a8(424): OTP_GOTO_NO_ADVANCE 1b3(435) -State 0( 0), entry 1a9(425): OTP_GOTO_NE c45(3141) -State 0( 0), entry 1aa(426): 1ac(428) -State 0( 0), entry 1ab(427): OTP_GOTO 1ae(430) -State 0( 0), entry 1ac(428): OTP_GOTO_NE c4f(3151) -State 0( 0), entry 1ad(429): 1b3(435) -State 0( 0), entry 1ae(430): OTP_GOTO_NO_ADVANCE 1b3(435) -State 0( 0), entry 1af(431): OTP_GOTO_NE c54(3156) -State 0( 0), entry 1b0(432): 1b3(435) -State 0( 0), entry 1b1(433): OTP_RIGHT_NUM c89(3209) -State 0( 0), entry 1b2(434): OTP_STOP 0( 0) -State 0( 0), entry 1b3(435): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 1b4(436): OTP_GOTO_NE c53(3155) -State 0( 0), entry 1b5(437): 1bb(443) -State 0( 0), entry 1b6(438): OTP_GOTO_NO_ADVANCE 1bb(443) -State 0( 0), entry 1b7(439): OTP_GOTO_NE c54(3156) -State 0( 0), entry 1b8(440): 1bb(443) -State 0( 0), entry 1b9(441): OTP_RIGHT_NUM c89(3209) -State 0( 0), entry 1ba(442): OTP_STOP 0( 0) -State 0( 0), entry 1bb(443): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 1bc(444): OTP_GOTO_NE c7a(3194) -State 0( 0), entry 1bd(445): 1c9(457) -State 0( 0), entry 1be(446): OTP_GOTO_NO_ADVANCE 1c9(457) -State 0( 0), entry 1bf(447): OTP_GOTO_NE c45(3141) -State 0( 0), entry 1c0(448): 1c2(450) -State 0( 0), entry 1c1(449): OTP_GOTO 1c4(452) -State 0( 0), entry 1c2(450): OTP_GOTO_NE c4f(3151) -State 0( 0), entry 1c3(451): 1c9(457) -State 0( 0), entry 1c4(452): OTP_GOTO_NO_ADVANCE 1c9(457) -State 0( 0), entry 1c5(453): OTP_GOTO_NE c54(3156) -State 0( 0), entry 1c6(454): 1c9(457) -State 0( 0), entry 1c7(455): OTP_RIGHT_NUM c8a(3210) -State 0( 0), entry 1c8(456): OTP_STOP 0( 0) -State 0( 0), entry 1c9(457): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 1ca(458): OTP_GOTO_NE c7a(3194) -State 0( 0), entry 1cb(459): 1d1(465) -State 0( 0), entry 1cc(460): OTP_GOTO_NO_ADVANCE 1d1(465) -State 0( 0), entry 1cd(461): OTP_GOTO_NE c54(3156) -State 0( 0), entry 1ce(462): 1d1(465) -State 0( 0), entry 1cf(463): OTP_RIGHT_NUM c8a(3210) -State 0( 0), entry 1d0(464): OTP_STOP 0( 0) -State 0( 0), entry 1d1(465): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 1d2(466): OTP_GOTO_LT 2010(8208) -State 0( 0), entry 1d3(467): 1db(475) -State 0( 0), entry 1d4(468): OTP_GOTO_GT 2046(8262) -State 0( 0), entry 1d5(469): 1db(475) -State 0( 0), entry 1d6(470): OTP_PUSH_CHAR 1( 1) -State 0( 0), entry 1d7(471): OTP_PUSH_NUM 1000(4096) -State 0( 0), entry 1d8(472): OTP_SUB 0( 0) -State 0( 0), entry 1d9(473): OTP_RIGHT_OUTPUT 0( 0) -State 0( 0), entry 1da(474): OTP_STOP 0( 0) -State 0( 0), entry 1db(475): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 1dc(476): OTP_GOTO_LT 1e00(7680) -State 0( 0), entry 1dd(477): 1e5(485) -State 0( 0), entry 1de(478): OTP_GOTO_GT 1eff(7935) -State 0( 0), entry 1df(479): 1e5(485) -State 0( 0), entry 1e0(480): OTP_PUSH_CHAR 1( 1) -State 0( 0), entry 1e1(481): OTP_PUSH_NUM 1800(6144) -State 0( 0), entry 1e2(482): OTP_SUB 0( 0) -State 0( 0), entry 1e3(483): OTP_RIGHT_OUTPUT 0( 0) -State 0( 0), entry 1e4(484): OTP_STOP 0( 0) -State 0( 0), entry 1e5(485): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 1e6(486): OTP_GOTO_NE f023(61475) -State 0( 0), entry 1e7(487): 1ea(490) -State 0( 0), entry 1e8(488): OTP_RIGHT_NUM 83(131) -State 0( 0), entry 1e9(489): OTP_STOP 0( 0) -State 0( 0), entry 1ea(490): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 1eb(491): OTP_GOTO_NE f024(61476) -State 0( 0), entry 1ec(492): 1ef(495) -State 0( 0), entry 1ed(493): OTP_RIGHT_NUM 84(132) -State 0( 0), entry 1ee(494): OTP_STOP 0( 0) -State 0( 0), entry 1ef(495): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 1f0(496): OTP_GOTO_NE f025(61477) -State 0( 0), entry 1f1(497): 1f4(500) -State 0( 0), entry 1f2(498): OTP_RIGHT_NUM 85(133) -State 0( 0), entry 1f3(499): OTP_STOP 0( 0) -State 0( 0), entry 1f4(500): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 1f5(501): OTP_GOTO_NE f026(61478) -State 0( 0), entry 1f6(502): 1f9(505) -State 0( 0), entry 1f7(503): OTP_RIGHT_NUM 86(134) -State 0( 0), entry 1f8(504): OTP_STOP 0( 0) -State 0( 0), entry 1f9(505): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 1fa(506): OTP_GOTO_NE f07b(61563) -State 0( 0), entry 1fb(507): 1fe(510) -State 0( 0), entry 1fc(508): OTP_RIGHT_NUM 8b(139) -State 0( 0), entry 1fd(509): OTP_STOP 0( 0) -State 0( 0), entry 1fe(510): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 1ff(511): OTP_GOTO_NE f05c(61532) -State 0( 0), entry 200(512): 203(515) -State 0( 0), entry 201(513): OTP_RIGHT_NUM 8c(140) -State 0( 0), entry 202(514): OTP_STOP 0( 0) -State 0( 0), entry 203(515): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 204(516): OTP_GOTO_NE f07d(61565) -State 0( 0), entry 205(517): 208(520) -State 0( 0), entry 206(518): OTP_RIGHT_NUM 8d(141) -State 0( 0), entry 207(519): OTP_STOP 0( 0) -State 0( 0), entry 208(520): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 209(521): OTP_GOTO_NE f05e(61534) -State 0( 0), entry 20a(522): 20d(525) -State 0( 0), entry 20b(523): OTP_RIGHT_NUM 8e(142) -State 0( 0), entry 20c(524): OTP_STOP 0( 0) -State 0( 0), entry 20d(525): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 20e(526): OTP_GOTO_NE f05f(61535) -State 0( 0), entry 20f(527): 212(530) -State 0( 0), entry 210(528): OTP_RIGHT_NUM 8f(143) -State 0( 0), entry 211(529): OTP_STOP 0( 0) -State 0( 0), entry 212(530): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 213(531): OTP_GOTO_NE f07e(61566) -State 0( 0), entry 214(532): 217(535) -State 0( 0), entry 215(533): OTP_RIGHT_NUM 80(128) -State 0( 0), entry 216(534): OTP_STOP 0( 0) -State 0( 0), entry 217(535): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 218(536): OTP_GOTO_LT f000(61440) -State 0( 0), entry 219(537): 228(552) -State 0( 0), entry 21a(538): OTP_GOTO_GT f07f(61567) -State 0( 0), entry 21b(539): 228(552) -State 0( 0), entry 21c(540): OTP_RIGHT_NUM 5c( 92,`\') -State 0( 0), entry 21d(541): OTP_RIGHT_NUM 73(115,`s') -State 0( 0), entry 21e(542): OTP_RIGHT_NUM 74(116,`t') -State 0( 0), entry 21f(543): OTP_RIGHT_NUM 72(114,`r') -State 0( 0), entry 220(544): OTP_RIGHT_NUM 69(105,`i') -State 0( 0), entry 221(545): OTP_RIGHT_NUM 6e(110,`n') -State 0( 0), entry 222(546): OTP_RIGHT_NUM 67(103,`g') -State 0( 0), entry 223(547): OTP_PUSH_CHAR 1( 1) -State 0( 0), entry 224(548): OTP_PUSH_NUM f000(61440) -State 0( 0), entry 225(549): OTP_SUB 0( 0) -State 0( 0), entry 226(550): OTP_RIGHT_OUTPUT 0( 0) -State 0( 0), entry 227(551): OTP_STOP 0( 0) -State 0( 0), entry 228(552): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 229(553): OTP_RIGHT_CHAR 1( 1) -State 0( 0), entry 22a(554): OTP_STOP 0( 0) -State 0( 0), entry 22b(555): OTP_LEFT_RETURN 0( 0) -State 0( 0), entry 22c(556): OTP_RIGHT_CHAR 1( 1) -State 0( 0), entry 22d(557): OTP_STOP 0( 0) - -file length should be: 236(566) -number words read : 236(566) diff --git a/Build/source/texk/web2c/otps/win32/ChangeLog b/Build/source/texk/web2c/otps/win32/ChangeLog deleted file mode 100644 index 499a073e740..00000000000 --- a/Build/source/texk/web2c/otps/win32/ChangeLog +++ /dev/null @@ -1,24 +0,0 @@ -2014-07-15 Peter Breitenlohner <peb@mppmu.mpg.de> - - * mkocp.c: Replace the deprecated spawnlp() by _spawnlp(). - * mkofm.c: Replace the deprecated spawnvp() by _spawnvp(), - they differ for 64-bit MinGW. - -2012-08-03 Peter Breitenlohner <peb@mppmu.mpg.de> - - * mkocp.c, mkofm.c: Replace P_WAIT by _P_WAIT. - -2012-07-15 Peter Breitenlohner <peb@mppmu.mpg.de> - - * mkocp.c: Pass program name string to kpse_set_program_name. - -2011-05-24 Peter Breitenlohner <peb@mppmu.mpg.de> - - * mkocp.c, mkofm.c: New files from Akira's W32TeX. - - * mkocp.c: Drop use of getlongname() for 8+3 names. - Drop unused variable `i'. - - * mkofm.c: #include <string.h> for strcpy() prototype. - Cast arg3 of spawnvp() to `const char* const*'. - diff --git a/Build/source/texk/web2c/otps/win32/Makefile.am b/Build/source/texk/web2c/otps/win32/Makefile.am deleted file mode 100644 index 5710173fd19..00000000000 --- a/Build/source/texk/web2c/otps/win32/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -## Makefile.am for the TeX Live subdirectory texk/web2c/otps/win32/ -## -## Copyright (C) 2011 Peter Breitenlohner <tex-live@tug.org> -## You may freely use, modify and/or distribute this file. -## -AM_CFLAGS = $(WARNING_CFLAGS) - -# Build WIN32 replacements for Unix shell scripts. -bin_PROGRAMS = mkocp mkofm - -mkocp_CPPFLAGS = $(KPATHSEA_INCLUDES) - -mkocp_LDADD = $(KPATHSEA_LIBS) -mkocp_DEPENDENCIES = $(KPATHSEA_DEPEND) - -## Rebuild libkpathsea -@KPATHSEA_RULE@ - -EXTRA_DIST = ChangeLog - diff --git a/Build/source/texk/web2c/otps/win32/Makefile.in b/Build/source/texk/web2c/otps/win32/Makefile.in deleted file mode 100644 index 9599e527f07..00000000000 --- a/Build/source/texk/web2c/otps/win32/Makefile.in +++ /dev/null @@ -1,819 +0,0 @@ -# Makefile.in generated by automake 1.16.3 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994-2020 Free Software Foundation, Inc. - -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -VPATH = @srcdir@ -am__is_gnu_make = { \ - if test -z '$(MAKELEVEL)'; then \ - false; \ - elif test -n '$(MAKE_HOST)'; then \ - true; \ - elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ - true; \ - else \ - false; \ - fi; \ -} -am__make_running_with_option = \ - case $${target_option-} in \ - ?) ;; \ - *) echo "am__make_running_with_option: internal error: invalid" \ - "target option '$${target_option-}' specified" >&2; \ - exit 1;; \ - esac; \ - has_opt=no; \ - sane_makeflags=$$MAKEFLAGS; \ - if $(am__is_gnu_make); then \ - sane_makeflags=$$MFLAGS; \ - else \ - case $$MAKEFLAGS in \ - *\\[\ \ ]*) \ - bs=\\; \ - sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ - | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ - esac; \ - fi; \ - skip_next=no; \ - strip_trailopt () \ - { \ - flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ - }; \ - for flg in $$sane_makeflags; do \ - test $$skip_next = yes && { skip_next=no; continue; }; \ - case $$flg in \ - *=*|--*) continue;; \ - -*I) strip_trailopt 'I'; skip_next=yes;; \ - -*I?*) strip_trailopt 'I';; \ - -*O) strip_trailopt 'O'; skip_next=yes;; \ - -*O?*) strip_trailopt 'O';; \ - -*l) strip_trailopt 'l'; skip_next=yes;; \ - -*l?*) strip_trailopt 'l';; \ - -[dEDm]) skip_next=yes;; \ - -[JT]) skip_next=yes;; \ - esac; \ - case $$flg in \ - *$$target_option*) has_opt=yes; break;; \ - esac; \ - done; \ - test $$has_opt = yes -am__make_dryrun = (target_option=n; $(am__make_running_with_option)) -am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -bin_PROGRAMS = mkocp$(EXEEXT) mkofm$(EXEEXT) -subdir = otps/win32 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/web2c-disable.m4 \ - $(top_srcdir)/../../m4/ax_cxx_compile_stdcxx.m4 \ - $(top_srcdir)/../../m4/kpse-asm.m4 \ - $(top_srcdir)/../../m4/kpse-cairo-flags.m4 \ - $(top_srcdir)/../../m4/kpse-common.m4 \ - $(top_srcdir)/../../m4/kpse-cross.m4 \ - $(top_srcdir)/../../m4/kpse-cxx-hack.m4 \ - $(top_srcdir)/../../m4/kpse-fontconfig-flags.m4 \ - $(top_srcdir)/../../m4/kpse-freetype2-flags.m4 \ - $(top_srcdir)/../../m4/kpse-gmp-flags.m4 \ - $(top_srcdir)/../../m4/kpse-graphite2-flags.m4 \ - $(top_srcdir)/../../m4/kpse-harfbuzz-flags.m4 \ - $(top_srcdir)/../../m4/kpse-icu-flags.m4 \ - $(top_srcdir)/../../m4/kpse-kpathsea-flags.m4 \ - $(top_srcdir)/../../m4/kpse-lex.m4 \ - $(top_srcdir)/../../m4/kpse-lib-version.m4 \ - $(top_srcdir)/../../m4/kpse-libpng-flags.m4 \ - $(top_srcdir)/../../m4/kpse-lt-hack.m4 \ - $(top_srcdir)/../../m4/kpse-lua52-flags.m4 \ - $(top_srcdir)/../../m4/kpse-lua53-flags.m4 \ - $(top_srcdir)/../../m4/kpse-luajit-flags.m4 \ - $(top_srcdir)/../../m4/kpse-macos-framework.m4 \ - $(top_srcdir)/../../m4/kpse-mpfr-flags.m4 \ - $(top_srcdir)/../../m4/kpse-pixman-flags.m4 \ - $(top_srcdir)/../../m4/kpse-pplib-flags.m4 \ - $(top_srcdir)/../../m4/kpse-ptexenc-flags.m4 \ - $(top_srcdir)/../../m4/kpse-socket-libs.m4 \ - $(top_srcdir)/../../m4/kpse-teckit-flags.m4 \ - $(top_srcdir)/../../m4/kpse-warnings.m4 \ - $(top_srcdir)/../../m4/kpse-web2c.m4 \ - $(top_srcdir)/../../m4/kpse-win32.m4 \ - $(top_srcdir)/../../m4/kpse-xpdf-flags.m4 \ - $(top_srcdir)/../../m4/kpse-zlib-flags.m4 \ - $(top_srcdir)/../../m4/kpse-zziplib-flags.m4 \ - $(top_srcdir)/../../m4/libtool.m4 \ - $(top_srcdir)/../../m4/ltoptions.m4 \ - $(top_srcdir)/../../m4/ltsugar.m4 \ - $(top_srcdir)/../../m4/ltversion.m4 \ - $(top_srcdir)/../../m4/lt~obsolete.m4 \ - $(top_srcdir)/../../version.ac $(top_srcdir)/ac/web2c.ac \ - $(top_srcdir)/synctexdir/ac/synctex.ac \ - $(top_srcdir)/synctexdir/synctex_parser_api_level.txt \ - $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/w2c/c-auto.h \ - $(top_builddir)/ff-config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -am__installdirs = "$(DESTDIR)$(bindir)" -PROGRAMS = $(bin_PROGRAMS) -mkocp_SOURCES = mkocp.c -mkocp_OBJECTS = mkocp-mkocp.$(OBJEXT) -am__DEPENDENCIES_1 = -AM_V_lt = $(am__v_lt_@AM_V@) -am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) -am__v_lt_0 = --silent -am__v_lt_1 = -mkofm_SOURCES = mkofm.c -mkofm_OBJECTS = mkofm.$(OBJEXT) -mkofm_LDADD = $(LDADD) -AM_V_P = $(am__v_P_@AM_V@) -am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) -am__v_P_0 = false -am__v_P_1 = : -AM_V_GEN = $(am__v_GEN_@AM_V@) -am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) -am__v_GEN_0 = @echo " GEN " $@; -am__v_GEN_1 = -AM_V_at = $(am__v_at_@AM_V@) -am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) -am__v_at_0 = @ -am__v_at_1 = -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/w2c -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/../../build-aux/depcomp -am__maybe_remake_depfiles = depfiles -am__depfiles_remade = ./$(DEPDIR)/mkocp-mkocp.Po ./$(DEPDIR)/mkofm.Po -am__mv = mv -f -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CFLAGS) $(CFLAGS) -AM_V_CC = $(am__v_CC_@AM_V@) -am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) -am__v_CC_0 = @echo " CC " $@; -am__v_CC_1 = -CCLD = $(CC) -LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -AM_V_CCLD = $(am__v_CCLD_@AM_V@) -am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) -am__v_CCLD_0 = @echo " CCLD " $@; -am__v_CCLD_1 = -SOURCES = mkocp.c mkofm.c -DIST_SOURCES = mkocp.c mkofm.c -am__can_run_installinfo = \ - case $$AM_UPDATE_INFO_DIR in \ - n|no|NO) false;; \ - *) (install-info --version) >/dev/null 2>&1;; \ - esac -am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) -# Read a list of newline-separated strings from the standard input, -# and print each of them once, without duplicates. Input order is -# *not* preserved. -am__uniquify_input = $(AWK) '\ - BEGIN { nonempty = 0; } \ - { items[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in items) print i; }; } \ -' -# Make sure the list of sources is unique. This is necessary because, -# e.g., the same source file might be shared among _SOURCES variables -# for different programs/libraries. -am__define_uniq_tagged_files = \ - list='$(am__tagged_files)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags -am__DIST_COMMON = $(srcdir)/Makefile.in \ - $(top_srcdir)/../../build-aux/depcomp ChangeLog -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CAIRO_DEPEND = @CAIRO_DEPEND@ -CAIRO_INCLUDES = @CAIRO_INCLUDES@ -CAIRO_LIBS = @CAIRO_LIBS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CTANGLE = @CTANGLE@ -CTANGLEBOOT = @CTANGLEBOOT@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CXXLD = @CXXLD@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -FONTCONFIG_INCLUDES = @FONTCONFIG_INCLUDES@ -FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ -FREETYPE2_DEPEND = @FREETYPE2_DEPEND@ -FREETYPE2_INCLUDES = @FREETYPE2_INCLUDES@ -FREETYPE2_LIBS = @FREETYPE2_LIBS@ -FT2_CONFIG = @FT2_CONFIG@ -GMP_DEPEND = @GMP_DEPEND@ -GMP_INCLUDES = @GMP_INCLUDES@ -GMP_LIBS = @GMP_LIBS@ -GRAPHITE2_DEPEND = @GRAPHITE2_DEPEND@ -GRAPHITE2_INCLUDES = @GRAPHITE2_INCLUDES@ -GRAPHITE2_LIBS = @GRAPHITE2_LIBS@ -GREP = @GREP@ -HARFBUZZ_DEPEND = @HARFBUZZ_DEPEND@ -HARFBUZZ_INCLUDES = @HARFBUZZ_INCLUDES@ -HARFBUZZ_LIBS = @HARFBUZZ_LIBS@ -HAVE_CXX11 = @HAVE_CXX11@ -ICU_CONFIG = @ICU_CONFIG@ -ICU_DEPEND = @ICU_DEPEND@ -ICU_INCLUDES = @ICU_INCLUDES@ -ICU_LIBS = @ICU_LIBS@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -KPATHSEA_DEPEND = @KPATHSEA_DEPEND@ -KPATHSEA_INCLUDES = @KPATHSEA_INCLUDES@ -KPATHSEA_LIBS = @KPATHSEA_LIBS@ -KPATHSEA_PATHS_H = @KPATHSEA_PATHS_H@ -KPSEWHICH = @KPSEWHICH@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LEX = @LEX@ -LEXLIB = @LEXLIB@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ -LIBOBJS = @LIBOBJS@ -LIBPNG_DEPEND = @LIBPNG_DEPEND@ -LIBPNG_INCLUDES = @LIBPNG_INCLUDES@ -LIBPNG_LIBS = @LIBPNG_LIBS@ -LIBS = @LIBS@ -LIBSYNCTEX = @LIBSYNCTEX@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -LTLIBSYNCTEX = @LTLIBSYNCTEX@ -LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ -LUA52_DEFINES = @LUA52_DEFINES@ -LUA52_DEPEND = @LUA52_DEPEND@ -LUA52_INCLUDES = @LUA52_INCLUDES@ -LUA52_LIBS = @LUA52_LIBS@ -LUA53_DEFINES = @LUA53_DEFINES@ -LUA53_DEPEND = @LUA53_DEPEND@ -LUA53_INCLUDES = @LUA53_INCLUDES@ -LUA53_LIBS = @LUA53_LIBS@ -LUAJIT_DEFINES = @LUAJIT_DEFINES@ -LUAJIT_DEPEND = @LUAJIT_DEPEND@ -LUAJIT_INCLUDES = @LUAJIT_INCLUDES@ -LUAJIT_LDEXTRA = @LUAJIT_LDEXTRA@ -LUAJIT_LIBS = @LUAJIT_LIBS@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MANIFEST_TOOL = @MANIFEST_TOOL@ -MKDIR_P = @MKDIR_P@ -MPFR_DEPEND = @MPFR_DEPEND@ -MPFR_INCLUDES = @MPFR_INCLUDES@ -MPFR_LIBS = @MPFR_LIBS@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJCXX = @OBJCXX@ -OBJCXXDEPMODE = @OBJCXXDEPMODE@ -OBJCXXFLAGS = @OBJCXXFLAGS@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTANGLE = @OTANGLE@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PIXMAN_DEPEND = @PIXMAN_DEPEND@ -PIXMAN_INCLUDES = @PIXMAN_INCLUDES@ -PIXMAN_LIBS = @PIXMAN_LIBS@ -PKG_CONFIG = @PKG_CONFIG@ -PPLIB_DEPEND = @PPLIB_DEPEND@ -PPLIB_INCLUDES = @PPLIB_INCLUDES@ -PPLIB_LIBS = @PPLIB_LIBS@ -PTEXENC_DEPEND = @PTEXENC_DEPEND@ -PTEXENC_INCLUDES = @PTEXENC_INCLUDES@ -PTEXENC_LIBS = @PTEXENC_LIBS@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -SYNCTEXVERSION = @SYNCTEXVERSION@ -SYNCTEX_LT_VERSINFO = @SYNCTEX_LT_VERSINFO@ -TANGLE = @TANGLE@ -TANGLEBOOT = @TANGLEBOOT@ -TECKIT_DEPEND = @TECKIT_DEPEND@ -TECKIT_INCLUDES = @TECKIT_INCLUDES@ -TECKIT_LIBS = @TECKIT_LIBS@ -TIE = @TIE@ -VERSION = @VERSION@ -WARNING_CFLAGS = @WARNING_CFLAGS@ -WARNING_CXXFLAGS = @WARNING_CXXFLAGS@ -WARNING_OBJCXXFLAGS = @WARNING_OBJCXXFLAGS@ -WEB2CVERSION = @WEB2CVERSION@ -XMKMF = @XMKMF@ -XPDF_DEPEND = @XPDF_DEPEND@ -XPDF_INCLUDES = @XPDF_INCLUDES@ -XPDF_LIBS = @XPDF_LIBS@ -X_CFLAGS = @X_CFLAGS@ -X_EXTRA_LIBS = @X_EXTRA_LIBS@ -X_LIBS = @X_LIBS@ -X_PRE_LIBS = @X_PRE_LIBS@ -YACC = @YACC@ -YFLAGS = @YFLAGS@ -ZLIB_DEPEND = @ZLIB_DEPEND@ -ZLIB_INCLUDES = @ZLIB_INCLUDES@ -ZLIB_LIBS = @ZLIB_LIBS@ -ZZIPLIB_DEPEND = @ZZIPLIB_DEPEND@ -ZZIPLIB_INCLUDES = @ZZIPLIB_INCLUDES@ -ZZIPLIB_LIBS = @ZZIPLIB_LIBS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_AR = @ac_ct_AR@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -ac_ct_OBJCXX = @ac_ct_OBJCXX@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -ipc_socketlibs = @ipc_socketlibs@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -lua_socketlibs = @lua_socketlibs@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -subdirs = @subdirs@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -wlibs = @wlibs@ -x_ext_lib = @x_ext_lib@ -x_tool_libs = @x_tool_libs@ -AM_CFLAGS = $(WARNING_CFLAGS) -mkocp_CPPFLAGS = $(KPATHSEA_INCLUDES) -mkocp_LDADD = $(KPATHSEA_LIBS) -mkocp_DEPENDENCIES = $(KPATHSEA_DEPEND) -EXTRA_DIST = ChangeLog -all: all-am - -.SUFFIXES: -.SUFFIXES: .c .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign otps/win32/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign otps/win32/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ - fi; \ - for p in $$list; do echo "$$p $$p"; done | \ - sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p \ - || test -f $$p1 \ - ; then echo "$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n;h' \ - -e 's|.*|.|' \ - -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ - sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) files[d] = files[d] " " $$1; \ - else { print "f", $$3 "/" $$4, $$1; } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' \ - `; \ - test -n "$$list" || exit 0; \ - echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(bindir)" && rm -f $$files - -clean-binPROGRAMS: - @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list - -mkocp$(EXEEXT): $(mkocp_OBJECTS) $(mkocp_DEPENDENCIES) $(EXTRA_mkocp_DEPENDENCIES) - @rm -f mkocp$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(mkocp_OBJECTS) $(mkocp_LDADD) $(LIBS) - -mkofm$(EXEEXT): $(mkofm_OBJECTS) $(mkofm_DEPENDENCIES) $(EXTRA_mkofm_DEPENDENCIES) - @rm -f mkofm$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(mkofm_OBJECTS) $(mkofm_LDADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mkocp-mkocp.Po@am__quote@ # am--include-marker -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mkofm.Po@am__quote@ # am--include-marker - -$(am__depfiles_remade): - @$(MKDIR_P) $(@D) - @echo '# dummy' >$@-t && $(am__mv) $@-t $@ - -am--depfiles: $(am__depfiles_remade) - -.c.o: -@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ -@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< - -.c.obj: -@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ -@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.c.lo: -@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ -@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< - -mkocp-mkocp.o: mkocp.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mkocp_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT mkocp-mkocp.o -MD -MP -MF $(DEPDIR)/mkocp-mkocp.Tpo -c -o mkocp-mkocp.o `test -f 'mkocp.c' || echo '$(srcdir)/'`mkocp.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/mkocp-mkocp.Tpo $(DEPDIR)/mkocp-mkocp.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='mkocp.c' object='mkocp-mkocp.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mkocp_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mkocp-mkocp.o `test -f 'mkocp.c' || echo '$(srcdir)/'`mkocp.c - -mkocp-mkocp.obj: mkocp.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mkocp_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT mkocp-mkocp.obj -MD -MP -MF $(DEPDIR)/mkocp-mkocp.Tpo -c -o mkocp-mkocp.obj `if test -f 'mkocp.c'; then $(CYGPATH_W) 'mkocp.c'; else $(CYGPATH_W) '$(srcdir)/mkocp.c'; fi` -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/mkocp-mkocp.Tpo $(DEPDIR)/mkocp-mkocp.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='mkocp.c' object='mkocp-mkocp.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mkocp_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mkocp-mkocp.obj `if test -f 'mkocp.c'; then $(CYGPATH_W) 'mkocp.c'; else $(CYGPATH_W) '$(srcdir)/mkocp.c'; fi` - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -ID: $(am__tagged_files) - $(am__define_uniq_tagged_files); mkid -fID $$unique -tags: tags-am -TAGS: tags - -tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) - set x; \ - here=`pwd`; \ - $(am__define_uniq_tagged_files); \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: ctags-am - -CTAGS: ctags -ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) - $(am__define_uniq_tagged_files); \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" -cscopelist: cscopelist-am - -cscopelist-am: $(am__tagged_files) - list='$(am__tagged_files)'; \ - case "$(srcdir)" in \ - [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ - *) sdir=$(subdir)/$(srcdir) ;; \ - esac; \ - for i in $$list; do \ - if test -f "$$i"; then \ - echo "$(subdir)/$$i"; \ - else \ - echo "$$sdir/$$i"; \ - fi; \ - done >> $(top_builddir)/cscope.files - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) distdir-am - -distdir-am: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(PROGRAMS) -installdirs: - for dir in "$(DESTDIR)$(bindir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - if test -z '$(STRIP)'; then \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - install; \ - else \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ - fi -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -f ./$(DEPDIR)/mkocp-mkocp.Po - -rm -f ./$(DEPDIR)/mkofm.Po - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: install-binPROGRAMS - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f ./$(DEPDIR)/mkocp-mkocp.Po - -rm -f ./$(DEPDIR)/mkofm.Po - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-binPROGRAMS - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ - clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \ - ctags ctags-am distclean distclean-compile distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-binPROGRAMS \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-info install-info-am install-man install-pdf \ - install-pdf-am install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags tags-am uninstall uninstall-am uninstall-binPROGRAMS - -.PRECIOUS: Makefile - - -@KPATHSEA_RULE@ - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/Build/source/texk/web2c/otps/win32/mkocp.c b/Build/source/texk/web2c/otps/win32/mkocp.c deleted file mode 100644 index 595ea346d31..00000000000 --- a/Build/source/texk/web2c/otps/win32/mkocp.c +++ /dev/null @@ -1,70 +0,0 @@ -/* -mkocp.c -*/ -#include <stdio.h> -#include <string.h> -#include <stdlib.h> -#include <ctype.h> -#include <malloc.h> -#include <process.h> - -/* kpathsea functions - */ -#include <kpathsea/kpathsea.h> - -int main(int ac, char **av) -{ - int savo, savi; - FILE *fnul; - char name[256]; - char fullname[256]; - char *p; - - kpse_set_program_name(av[0], "mkocp"); - - if(ac != 2) { - fprintf(stderr,"%s : Usage %s ocpname\n", av[0], av[0]); - return 1; - } - - p = strrchr(av[1], '.'); - if(p) - *p = '\0'; - strcpy(name, av[1]); - strcpy(fullname, name); - strcat(fullname, ".ocp"); - -/* save stdout and stdin */ - savo = _dup(fileno(stdout)); - savi = _dup(fileno(stdin)); - -/* connect stdout to stderr */ - _dup2(fileno(stderr), fileno(stdout)); - -/* connect stdin to nul device */ - if(!(fnul = fopen("nul", "r"))) { - fprintf(stderr, "Cannot open nul device to read\n"); - exit(100); - } - _dup2(fileno(fnul), fileno(stdin)); - -/* COMMAND */ - - _spawnlp(_P_WAIT, "otp2ocp", "otp2ocp", name, NULL); - -/* END COMMAND */ - -/* return to original stdout and stdin */ - _dup2(savo, fileno(stdout)); - close(savo); - _dup2(savi, fileno(stdin)); - close(savi); - -/* close nul device */ - fclose(fnul); - - if(_access(fullname, 0) == 0) - printf("%s\n", fullname); - - return 0; -} diff --git a/Build/source/texk/web2c/otps/win32/mkofm.c b/Build/source/texk/web2c/otps/win32/mkofm.c deleted file mode 100644 index cb6ef4cd8eb..00000000000 --- a/Build/source/texk/web2c/otps/win32/mkofm.c +++ /dev/null @@ -1,9 +0,0 @@ -/* currently script mkofm only calls mktextfm */ -#include <stdio.h> -#include <string.h> -#include <process.h> -int main(int argc, char *argv[]) -{ - strcpy(argv[0], "mkofm"); - return _spawnvp(_P_WAIT, "mktextfm.exe", (const char* const*)argv); -} diff --git a/Build/source/texk/web2c/otps/yystype.h b/Build/source/texk/web2c/otps/yystype.h deleted file mode 100644 index ef9eefc60da..00000000000 --- a/Build/source/texk/web2c/otps/yystype.h +++ /dev/null @@ -1,31 +0,0 @@ -/* yystype.h: Type declarations for the parser. - -This file is part of Omega, -which is based on the web2c distribution of TeX, - -Copyright (c) 1994--2001 John Plaice and Yannis Haralambous - -Omega is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -Omega is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with Omega; if not, write to the Free Software Foundation, Inc., -59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -*/ - -#define YYSTYPE yystype -typedef union { - int yint; - char* ystring ; - list ylist; - left yleft; - llist ylleft; -} yystype; |