Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +4 -0
- platform/dbops/binaries/build/bin/bison +3 -0
- platform/dbops/binaries/build/bin/flex +3 -0
- platform/dbops/binaries/build/bin/flex++ +3 -0
- platform/dbops/binaries/build/bin/m4 +3 -0
- platform/dbops/binaries/build/bin/yacc +123 -0
- platform/dbops/binaries/build/include/FlexLexer.h +220 -0
- platform/dbops/binaries/build/lib/libfl.a +0 -0
- platform/dbops/binaries/build/lib/libfl.la +41 -0
- platform/dbops/binaries/build/lib/libfl.so +0 -0
- platform/dbops/binaries/build/lib/libfl.so.2 +0 -0
- platform/dbops/binaries/build/lib/libfl.so.2.0.0 +0 -0
- platform/dbops/binaries/build/lib/liby.a +0 -0
- platform/dbops/binaries/build/share/aclocal/bison-i18n.m4 +51 -0
- platform/dbops/binaries/build/share/bison/README.md +227 -0
- platform/dbops/binaries/build/share/bison/bison-default.css +61 -0
- platform/dbops/binaries/build/share/info/bison.info +0 -0
- platform/dbops/binaries/build/share/info/flex.info +281 -0
- platform/dbops/binaries/build/share/info/flex.info-1 +0 -0
- platform/dbops/binaries/build/share/info/flex.info-2 +0 -0
- platform/dbops/binaries/build/share/info/m4.info +139 -0
- platform/dbops/binaries/build/share/info/m4.info-1 +0 -0
- platform/dbops/binaries/build/share/info/m4.info-2 +924 -0
- platform/dbops/binaries/build/share/locale/af/LC_MESSAGES/bison-gnulib.mo +0 -0
- platform/dbops/binaries/build/share/locale/ast/LC_MESSAGES/bison-runtime.mo +0 -0
- platform/dbops/binaries/build/share/locale/be/LC_MESSAGES/bison-gnulib.mo +0 -0
- platform/dbops/binaries/build/share/locale/bg/LC_MESSAGES/bison-gnulib.mo +0 -0
- platform/dbops/binaries/build/share/locale/bg/LC_MESSAGES/bison-runtime.mo +0 -0
- platform/dbops/binaries/build/share/locale/bg/LC_MESSAGES/bison.mo +0 -0
- platform/dbops/binaries/build/share/locale/bg/LC_MESSAGES/m4.mo +0 -0
- platform/dbops/binaries/build/share/locale/ca/LC_MESSAGES/bison-gnulib.mo +0 -0
- platform/dbops/binaries/build/share/locale/ca/LC_MESSAGES/bison-runtime.mo +0 -0
- platform/dbops/binaries/build/share/locale/ca/LC_MESSAGES/bison.mo +0 -0
- platform/dbops/binaries/build/share/locale/ca/LC_MESSAGES/flex.mo +0 -0
- platform/dbops/binaries/build/share/locale/cs/LC_MESSAGES/bison-gnulib.mo +0 -0
- platform/dbops/binaries/build/share/locale/cs/LC_MESSAGES/m4.mo +0 -0
- platform/dbops/binaries/build/share/locale/da/LC_MESSAGES/bison-gnulib.mo +0 -0
- platform/dbops/binaries/build/share/locale/da/LC_MESSAGES/bison-runtime.mo +0 -0
- platform/dbops/binaries/build/share/locale/da/LC_MESSAGES/bison.mo +0 -0
- platform/dbops/binaries/build/share/locale/da/LC_MESSAGES/flex.mo +0 -0
- platform/dbops/binaries/build/share/locale/da/LC_MESSAGES/m4.mo +0 -0
- platform/dbops/binaries/build/share/locale/de/LC_MESSAGES/bison-gnulib.mo +0 -0
- platform/dbops/binaries/build/share/locale/de/LC_MESSAGES/bison-runtime.mo +0 -0
- platform/dbops/binaries/build/share/locale/de/LC_MESSAGES/bison.mo +0 -0
- platform/dbops/binaries/build/share/locale/de/LC_MESSAGES/flex.mo +0 -0
- platform/dbops/binaries/build/share/locale/de/LC_MESSAGES/m4.mo +0 -0
- platform/dbops/binaries/build/share/locale/el/LC_MESSAGES/bison-gnulib.mo +0 -0
- platform/dbops/binaries/build/share/locale/el/LC_MESSAGES/bison-runtime.mo +0 -0
- platform/dbops/binaries/build/share/locale/el/LC_MESSAGES/bison.mo +0 -0
- platform/dbops/binaries/build/share/locale/el/LC_MESSAGES/m4.mo +0 -0
.gitattributes
CHANGED
|
@@ -3130,3 +3130,7 @@ platform/dbops/binaries/postgres/bin/reindexdb filter=lfs diff=lfs merge=lfs -te
|
|
| 3130 |
platform/dbops/binaries/postgres/bin/pg_isready filter=lfs diff=lfs merge=lfs -text
|
| 3131 |
platform/dbops/binaries/postgres/lib/pgxs/src/test/regress/pg_regress filter=lfs diff=lfs merge=lfs -text
|
| 3132 |
platform/dbops/binaries/postgres/lib/pgxs/src/test/isolation/pg_isolation_regress filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3130 |
platform/dbops/binaries/postgres/bin/pg_isready filter=lfs diff=lfs merge=lfs -text
|
| 3131 |
platform/dbops/binaries/postgres/lib/pgxs/src/test/regress/pg_regress filter=lfs diff=lfs merge=lfs -text
|
| 3132 |
platform/dbops/binaries/postgres/lib/pgxs/src/test/isolation/pg_isolation_regress filter=lfs diff=lfs merge=lfs -text
|
| 3133 |
+
platform/dbops/binaries/build/bin/m4 filter=lfs diff=lfs merge=lfs -text
|
| 3134 |
+
platform/dbops/binaries/build/bin/bison filter=lfs diff=lfs merge=lfs -text
|
| 3135 |
+
platform/dbops/binaries/build/bin/flex filter=lfs diff=lfs merge=lfs -text
|
| 3136 |
+
platform/dbops/binaries/build/bin/flex++ filter=lfs diff=lfs merge=lfs -text
|
platform/dbops/binaries/build/bin/bison
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e0d289becc2e80eec6fa731bb169dab75803617a4cb7d0e36bde99d19d7e1d35
|
| 3 |
+
size 2529512
|
platform/dbops/binaries/build/bin/flex
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64b8ea676b253de5c2f5ba1e0619c9c4452ce24cdbf1c75056661a6f412ccbf5
|
| 3 |
+
size 906272
|
platform/dbops/binaries/build/bin/flex++
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64b8ea676b253de5c2f5ba1e0619c9c4452ce24cdbf1c75056661a6f412ccbf5
|
| 3 |
+
size 906272
|
platform/dbops/binaries/build/bin/m4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36005242445a56d5417da3b499a35667e32495095393e54f9ad911f08001eb37
|
| 3 |
+
size 1247104
|
platform/dbops/binaries/build/bin/yacc
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#! /bin/sh
|
| 2 |
+
|
| 3 |
+
# The functions in this file provide support for relocatability of
|
| 4 |
+
# shell scripts. They should be included near the beginning of each
|
| 5 |
+
# shell script in a relocatable program, by adding @relocatable_sh@
|
| 6 |
+
# and causing the script to be expanded with AC_CONFIG_FILES. A
|
| 7 |
+
# small amount of additional code must be added and adapted to the
|
| 8 |
+
# package by hand; see doc/relocatable-maint.texi (in Gnulib) for
|
| 9 |
+
# details.
|
| 10 |
+
#
|
| 11 |
+
# Copyright (C) 2003-2021 Free Software Foundation, Inc.
|
| 12 |
+
#
|
| 13 |
+
# This program is free software: you can redistribute it and/or modify
|
| 14 |
+
# it under the terms of the GNU General Public License as published by
|
| 15 |
+
# the Free Software Foundation; either version 3 of the License, or
|
| 16 |
+
# (at your option) any later version.
|
| 17 |
+
#
|
| 18 |
+
# This program is distributed in the hope that it will be useful,
|
| 19 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 20 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 21 |
+
# GNU General Public License for more details.
|
| 22 |
+
#
|
| 23 |
+
# You should have received a copy of the GNU General Public License
|
| 24 |
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
| 25 |
+
#
|
| 26 |
+
|
| 27 |
+
# Support for relocatability.
|
| 28 |
+
func_find_curr_installdir ()
|
| 29 |
+
{
|
| 30 |
+
# Determine curr_installdir, even taking into account symlinks.
|
| 31 |
+
curr_executable="$0"
|
| 32 |
+
case "$curr_executable" in
|
| 33 |
+
*/* | *\\*) ;;
|
| 34 |
+
*) # Need to look in the PATH.
|
| 35 |
+
if test "${PATH_SEPARATOR+set}" != set; then
|
| 36 |
+
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
|
| 37 |
+
# contains only /bin. Note that ksh looks also at the FPATH variable,
|
| 38 |
+
# so we have to set that as well for the test.
|
| 39 |
+
PATH_SEPARATOR=:
|
| 40 |
+
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
|
| 41 |
+
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
|
| 42 |
+
|| PATH_SEPARATOR=';'
|
| 43 |
+
}
|
| 44 |
+
fi
|
| 45 |
+
save_IFS="$IFS"; IFS="$PATH_SEPARATOR"
|
| 46 |
+
for dir in $PATH; do
|
| 47 |
+
IFS="$save_IFS"
|
| 48 |
+
test -z "$dir" && dir=.
|
| 49 |
+
for exec_ext in ''; do
|
| 50 |
+
if test -f "$dir/$curr_executable$exec_ext"; then
|
| 51 |
+
curr_executable="$dir/$curr_executable$exec_ext"
|
| 52 |
+
break 2
|
| 53 |
+
fi
|
| 54 |
+
done
|
| 55 |
+
done
|
| 56 |
+
IFS="$save_IFS"
|
| 57 |
+
;;
|
| 58 |
+
esac
|
| 59 |
+
# Make absolute.
|
| 60 |
+
case "$curr_executable" in
|
| 61 |
+
/* | ?:/* | ?:\\*) ;;
|
| 62 |
+
*) curr_executable=`pwd`/"$curr_executable" ;;
|
| 63 |
+
esac
|
| 64 |
+
# Resolve symlinks.
|
| 65 |
+
sed_dirname='s,/[^/]*$,,'
|
| 66 |
+
sed_linkdest='s,^.* -> \(.*\),\1,p'
|
| 67 |
+
while : ; do
|
| 68 |
+
lsline=`LC_ALL=C ls -l "$curr_executable"`
|
| 69 |
+
case "$lsline" in
|
| 70 |
+
*" -> "*)
|
| 71 |
+
linkdest=`echo "$lsline" | sed -n -e "$sed_linkdest"`
|
| 72 |
+
case "$linkdest" in
|
| 73 |
+
/* | ?:/* | ?:\\*) curr_executable="$linkdest" ;;
|
| 74 |
+
*) curr_executable=`echo "$curr_executable" | sed -e "$sed_dirname"`/"$linkdest" ;;
|
| 75 |
+
esac ;;
|
| 76 |
+
*) break ;;
|
| 77 |
+
esac
|
| 78 |
+
done
|
| 79 |
+
curr_installdir=`echo "$curr_executable" | sed -e 's,/[^/]*$,,'`
|
| 80 |
+
# Canonicalize.
|
| 81 |
+
curr_installdir=`cd "$curr_installdir" && pwd`
|
| 82 |
+
}
|
| 83 |
+
func_find_prefixes ()
|
| 84 |
+
{
|
| 85 |
+
# Compute the original/current installation prefixes by stripping the
|
| 86 |
+
# trailing directories off the original/current installation directories.
|
| 87 |
+
orig_installprefix="$orig_installdir"
|
| 88 |
+
curr_installprefix="$curr_installdir"
|
| 89 |
+
while true; do
|
| 90 |
+
orig_last=`echo "$orig_installprefix" | sed -n -e 's,^.*/\([^/]*\)$,\1,p'`
|
| 91 |
+
curr_last=`echo "$curr_installprefix" | sed -n -e 's,^.*/\([^/]*\)$,\1,p'`
|
| 92 |
+
if test -z "$orig_last" || test -z "$curr_last"; then
|
| 93 |
+
break
|
| 94 |
+
fi
|
| 95 |
+
if test "$orig_last" != "$curr_last"; then
|
| 96 |
+
break
|
| 97 |
+
fi
|
| 98 |
+
orig_installprefix=`echo "$orig_installprefix" | sed -e 's,/[^/]*$,,'`
|
| 99 |
+
curr_installprefix=`echo "$curr_installprefix" | sed -e 's,/[^/]*$,,'`
|
| 100 |
+
done
|
| 101 |
+
}
|
| 102 |
+
if test "no" = yes; then
|
| 103 |
+
prefix="/data/adaptai/platform/dbops/binaries/build"
|
| 104 |
+
exec_prefix="${prefix}"
|
| 105 |
+
bindir="${exec_prefix}/bin"
|
| 106 |
+
orig_installdir="$bindir" # see Makefile.am's *_SCRIPTS variables
|
| 107 |
+
func_find_curr_installdir # determine curr_installdir
|
| 108 |
+
func_find_prefixes
|
| 109 |
+
relocate () {
|
| 110 |
+
echo "$1/" \
|
| 111 |
+
| sed -e "s%^${orig_installprefix}/%${curr_installprefix}/%" \
|
| 112 |
+
| sed -e 's,/$,,'
|
| 113 |
+
}
|
| 114 |
+
else
|
| 115 |
+
relocate () {
|
| 116 |
+
echo "$1"
|
| 117 |
+
}
|
| 118 |
+
fi
|
| 119 |
+
|
| 120 |
+
prefix=/data/adaptai/platform/dbops/binaries/build
|
| 121 |
+
exec_prefix=${prefix}
|
| 122 |
+
bindir=`relocate "${exec_prefix}/bin"`
|
|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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// -*-C++-*-
|
| 2 |
+
// FlexLexer.h -- define interfaces for lexical analyzer classes generated
|
| 3 |
+
// by flex
|
| 4 |
+
|
| 5 |
+
// Copyright (c) 1993 The Regents of the University of California.
|
| 6 |
+
// All rights reserved.
|
| 7 |
+
//
|
| 8 |
+
// This code is derived from software contributed to Berkeley by
|
| 9 |
+
// Kent Williams and Tom Epperly.
|
| 10 |
+
//
|
| 11 |
+
// Redistribution and use in source and binary forms, with or without
|
| 12 |
+
// modification, are permitted provided that the following conditions
|
| 13 |
+
// are met:
|
| 14 |
+
|
| 15 |
+
// 1. Redistributions of source code must retain the above copyright
|
| 16 |
+
// notice, this list of conditions and the following disclaimer.
|
| 17 |
+
// 2. Redistributions in binary form must reproduce the above copyright
|
| 18 |
+
// notice, this list of conditions and the following disclaimer in the
|
| 19 |
+
// documentation and/or other materials provided with the distribution.
|
| 20 |
+
|
| 21 |
+
// Neither the name of the University nor the names of its contributors
|
| 22 |
+
// may be used to endorse or promote products derived from this software
|
| 23 |
+
// without specific prior written permission.
|
| 24 |
+
|
| 25 |
+
// THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
|
| 26 |
+
// IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
| 27 |
+
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 28 |
+
// PURPOSE.
|
| 29 |
+
|
| 30 |
+
// This file defines FlexLexer, an abstract class which specifies the
|
| 31 |
+
// external interface provided to flex C++ lexer objects, and yyFlexLexer,
|
| 32 |
+
// which defines a particular lexer class.
|
| 33 |
+
//
|
| 34 |
+
// If you want to create multiple lexer classes, you use the -P flag
|
| 35 |
+
// to rename each yyFlexLexer to some other xxFlexLexer. You then
|
| 36 |
+
// include <FlexLexer.h> in your other sources once per lexer class:
|
| 37 |
+
//
|
| 38 |
+
// #undef yyFlexLexer
|
| 39 |
+
// #define yyFlexLexer xxFlexLexer
|
| 40 |
+
// #include <FlexLexer.h>
|
| 41 |
+
//
|
| 42 |
+
// #undef yyFlexLexer
|
| 43 |
+
// #define yyFlexLexer zzFlexLexer
|
| 44 |
+
// #include <FlexLexer.h>
|
| 45 |
+
// ...
|
| 46 |
+
|
| 47 |
+
#ifndef __FLEX_LEXER_H
|
| 48 |
+
// Never included before - need to define base class.
|
| 49 |
+
#define __FLEX_LEXER_H
|
| 50 |
+
|
| 51 |
+
#include <iostream>
|
| 52 |
+
|
| 53 |
+
extern "C++" {
|
| 54 |
+
|
| 55 |
+
struct yy_buffer_state;
|
| 56 |
+
typedef int yy_state_type;
|
| 57 |
+
|
| 58 |
+
class FlexLexer
|
| 59 |
+
{
|
| 60 |
+
public:
|
| 61 |
+
virtual ~FlexLexer() { }
|
| 62 |
+
|
| 63 |
+
const char* YYText() const { return yytext; }
|
| 64 |
+
int YYLeng() const { return yyleng; }
|
| 65 |
+
|
| 66 |
+
virtual void
|
| 67 |
+
yy_switch_to_buffer( yy_buffer_state* new_buffer ) = 0;
|
| 68 |
+
virtual yy_buffer_state* yy_create_buffer( std::istream* s, int size ) = 0;
|
| 69 |
+
virtual yy_buffer_state* yy_create_buffer( std::istream& s, int size ) = 0;
|
| 70 |
+
virtual void yy_delete_buffer( yy_buffer_state* b ) = 0;
|
| 71 |
+
virtual void yyrestart( std::istream* s ) = 0;
|
| 72 |
+
virtual void yyrestart( std::istream& s ) = 0;
|
| 73 |
+
|
| 74 |
+
virtual int yylex() = 0;
|
| 75 |
+
|
| 76 |
+
// Call yylex with new input/output sources.
|
| 77 |
+
int yylex( std::istream& new_in, std::ostream& new_out )
|
| 78 |
+
{
|
| 79 |
+
switch_streams( new_in, new_out );
|
| 80 |
+
return yylex();
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
int yylex( std::istream* new_in, std::ostream* new_out = 0)
|
| 84 |
+
{
|
| 85 |
+
switch_streams( new_in, new_out );
|
| 86 |
+
return yylex();
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
// Switch to new input/output streams. A nil stream pointer
|
| 90 |
+
// indicates "keep the current one".
|
| 91 |
+
virtual void switch_streams( std::istream* new_in,
|
| 92 |
+
std::ostream* new_out ) = 0;
|
| 93 |
+
virtual void switch_streams( std::istream& new_in,
|
| 94 |
+
std::ostream& new_out ) = 0;
|
| 95 |
+
|
| 96 |
+
int lineno() const { return yylineno; }
|
| 97 |
+
|
| 98 |
+
int debug() const { return yy_flex_debug; }
|
| 99 |
+
void set_debug( int flag ) { yy_flex_debug = flag; }
|
| 100 |
+
|
| 101 |
+
protected:
|
| 102 |
+
char* yytext;
|
| 103 |
+
int yyleng;
|
| 104 |
+
int yylineno; // only maintained if you use %option yylineno
|
| 105 |
+
int yy_flex_debug; // only has effect with -d or "%option debug"
|
| 106 |
+
};
|
| 107 |
+
|
| 108 |
+
}
|
| 109 |
+
#endif // FLEXLEXER_H
|
| 110 |
+
|
| 111 |
+
#if defined(yyFlexLexer) || ! defined(yyFlexLexerOnce)
|
| 112 |
+
// Either this is the first time through (yyFlexLexerOnce not defined),
|
| 113 |
+
// or this is a repeated include to define a different flavor of
|
| 114 |
+
// yyFlexLexer, as discussed in the flex manual.
|
| 115 |
+
# define yyFlexLexerOnce
|
| 116 |
+
|
| 117 |
+
extern "C++" {
|
| 118 |
+
|
| 119 |
+
class yyFlexLexer : public FlexLexer {
|
| 120 |
+
public:
|
| 121 |
+
// arg_yyin and arg_yyout default to the cin and cout, but we
|
| 122 |
+
// only make that assignment when initializing in yylex().
|
| 123 |
+
yyFlexLexer( std::istream& arg_yyin, std::ostream& arg_yyout );
|
| 124 |
+
yyFlexLexer( std::istream* arg_yyin = 0, std::ostream* arg_yyout = 0 );
|
| 125 |
+
private:
|
| 126 |
+
void ctor_common();
|
| 127 |
+
|
| 128 |
+
public:
|
| 129 |
+
|
| 130 |
+
virtual ~yyFlexLexer();
|
| 131 |
+
|
| 132 |
+
void yy_switch_to_buffer( yy_buffer_state* new_buffer );
|
| 133 |
+
yy_buffer_state* yy_create_buffer( std::istream* s, int size );
|
| 134 |
+
yy_buffer_state* yy_create_buffer( std::istream& s, int size );
|
| 135 |
+
void yy_delete_buffer( yy_buffer_state* b );
|
| 136 |
+
void yyrestart( std::istream* s );
|
| 137 |
+
void yyrestart( std::istream& s );
|
| 138 |
+
|
| 139 |
+
void yypush_buffer_state( yy_buffer_state* new_buffer );
|
| 140 |
+
void yypop_buffer_state();
|
| 141 |
+
|
| 142 |
+
virtual int yylex();
|
| 143 |
+
virtual void switch_streams( std::istream& new_in, std::ostream& new_out );
|
| 144 |
+
virtual void switch_streams( std::istream* new_in = 0, std::ostream* new_out = 0 );
|
| 145 |
+
virtual int yywrap();
|
| 146 |
+
|
| 147 |
+
protected:
|
| 148 |
+
virtual int LexerInput( char* buf, int max_size );
|
| 149 |
+
virtual void LexerOutput( const char* buf, int size );
|
| 150 |
+
virtual void LexerError( const char* msg );
|
| 151 |
+
|
| 152 |
+
void yyunput( int c, char* buf_ptr );
|
| 153 |
+
int yyinput();
|
| 154 |
+
|
| 155 |
+
void yy_load_buffer_state();
|
| 156 |
+
void yy_init_buffer( yy_buffer_state* b, std::istream& s );
|
| 157 |
+
void yy_flush_buffer( yy_buffer_state* b );
|
| 158 |
+
|
| 159 |
+
int yy_start_stack_ptr;
|
| 160 |
+
int yy_start_stack_depth;
|
| 161 |
+
int* yy_start_stack;
|
| 162 |
+
|
| 163 |
+
void yy_push_state( int new_state );
|
| 164 |
+
void yy_pop_state();
|
| 165 |
+
int yy_top_state();
|
| 166 |
+
|
| 167 |
+
yy_state_type yy_get_previous_state();
|
| 168 |
+
yy_state_type yy_try_NUL_trans( yy_state_type current_state );
|
| 169 |
+
int yy_get_next_buffer();
|
| 170 |
+
|
| 171 |
+
std::istream yyin; // input source for default LexerInput
|
| 172 |
+
std::ostream yyout; // output sink for default LexerOutput
|
| 173 |
+
|
| 174 |
+
// yy_hold_char holds the character lost when yytext is formed.
|
| 175 |
+
char yy_hold_char;
|
| 176 |
+
|
| 177 |
+
// Number of characters read into yy_ch_buf.
|
| 178 |
+
int yy_n_chars;
|
| 179 |
+
|
| 180 |
+
// Points to current character in buffer.
|
| 181 |
+
char* yy_c_buf_p;
|
| 182 |
+
|
| 183 |
+
int yy_init; // whether we need to initialize
|
| 184 |
+
int yy_start; // start state number
|
| 185 |
+
|
| 186 |
+
// Flag which is used to allow yywrap()'s to do buffer switches
|
| 187 |
+
// instead of setting up a fresh yyin. A bit of a hack ...
|
| 188 |
+
int yy_did_buffer_switch_on_eof;
|
| 189 |
+
|
| 190 |
+
|
| 191 |
+
size_t yy_buffer_stack_top; /**< index of top of stack. */
|
| 192 |
+
size_t yy_buffer_stack_max; /**< capacity of stack. */
|
| 193 |
+
yy_buffer_state ** yy_buffer_stack; /**< Stack as an array. */
|
| 194 |
+
void yyensure_buffer_stack(void);
|
| 195 |
+
|
| 196 |
+
// The following are not always needed, but may be depending
|
| 197 |
+
// on use of certain flex features (like REJECT or yymore()).
|
| 198 |
+
|
| 199 |
+
yy_state_type yy_last_accepting_state;
|
| 200 |
+
char* yy_last_accepting_cpos;
|
| 201 |
+
|
| 202 |
+
yy_state_type* yy_state_buf;
|
| 203 |
+
yy_state_type* yy_state_ptr;
|
| 204 |
+
|
| 205 |
+
char* yy_full_match;
|
| 206 |
+
int* yy_full_state;
|
| 207 |
+
int yy_full_lp;
|
| 208 |
+
|
| 209 |
+
int yy_lp;
|
| 210 |
+
int yy_looking_for_trail_begin;
|
| 211 |
+
|
| 212 |
+
int yy_more_flag;
|
| 213 |
+
int yy_more_len;
|
| 214 |
+
int yy_more_offset;
|
| 215 |
+
int yy_prev_more_offset;
|
| 216 |
+
};
|
| 217 |
+
|
| 218 |
+
}
|
| 219 |
+
|
| 220 |
+
#endif // yyFlexLexer || ! yyFlexLexerOnce
|
platform/dbops/binaries/build/lib/libfl.a
ADDED
|
Binary file (7.8 kB). View file
|
|
|
platform/dbops/binaries/build/lib/libfl.la
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# libfl.la - a libtool library file
|
| 2 |
+
# Generated by libtool (GNU libtool) 2.4.6 Debian-2.4.6-0.1
|
| 3 |
+
#
|
| 4 |
+
# Please DO NOT delete this file!
|
| 5 |
+
# It is necessary for linking the library.
|
| 6 |
+
|
| 7 |
+
# The name that we can dlopen(3).
|
| 8 |
+
dlname='libfl.so.2'
|
| 9 |
+
|
| 10 |
+
# Names of this library.
|
| 11 |
+
library_names='libfl.so.2.0.0 libfl.so.2 libfl.so'
|
| 12 |
+
|
| 13 |
+
# The name of the static archive.
|
| 14 |
+
old_library='libfl.a'
|
| 15 |
+
|
| 16 |
+
# Linker flags that cannot go in dependency_libs.
|
| 17 |
+
inherited_linker_flags=''
|
| 18 |
+
|
| 19 |
+
# Libraries that this one depends upon.
|
| 20 |
+
dependency_libs=' -lm'
|
| 21 |
+
|
| 22 |
+
# Names of additional weak libraries provided by this library
|
| 23 |
+
weak_library_names=''
|
| 24 |
+
|
| 25 |
+
# Version information for libfl.
|
| 26 |
+
current=2
|
| 27 |
+
age=0
|
| 28 |
+
revision=0
|
| 29 |
+
|
| 30 |
+
# Is this an already installed library?
|
| 31 |
+
installed=yes
|
| 32 |
+
|
| 33 |
+
# Should we warn about portability when linking against -modules?
|
| 34 |
+
shouldnotlink=no
|
| 35 |
+
|
| 36 |
+
# Files to dlopen/dlpreopen
|
| 37 |
+
dlopen=''
|
| 38 |
+
dlpreopen=''
|
| 39 |
+
|
| 40 |
+
# Directory that this library needs to be installed in:
|
| 41 |
+
libdir='/data/adaptai/platform/dbops/binaries/build/lib'
|
platform/dbops/binaries/build/lib/libfl.so
ADDED
|
Binary file (17.5 kB). View file
|
|
|
platform/dbops/binaries/build/lib/libfl.so.2
ADDED
|
Binary file (17.5 kB). View file
|
|
|
platform/dbops/binaries/build/lib/libfl.so.2.0.0
ADDED
|
Binary file (17.5 kB). View file
|
|
|
platform/dbops/binaries/build/lib/liby.a
ADDED
|
Binary file (11.2 kB). View file
|
|
|
platform/dbops/binaries/build/share/aclocal/bison-i18n.m4
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# bison-i18n.m4 serial 2
|
| 2 |
+
|
| 3 |
+
dnl Copyright (C) 2005-2006, 2009-2015, 2018-2021 Free Software
|
| 4 |
+
dnl Foundation, Inc.
|
| 5 |
+
|
| 6 |
+
dnl This file is free software; the Free Software Foundation
|
| 7 |
+
dnl gives unlimited permission to copy and/or distribute it,
|
| 8 |
+
dnl with or without modifications, as long as this notice is preserved.
|
| 9 |
+
|
| 10 |
+
dnl From Bruno Haible.
|
| 11 |
+
|
| 12 |
+
dnl Support for internationalization of bison-generated parsers.
|
| 13 |
+
|
| 14 |
+
dnl BISON_I18N
|
| 15 |
+
dnl should be used in configure.ac, after AM_GNU_GETTEXT. If USE_NLS is yes, it
|
| 16 |
+
dnl sets BISON_LOCALEDIR to indicate where to find the bison-runtime.mo files
|
| 17 |
+
dnl and defines YYENABLE_NLS if there are bison-runtime.mo files at all.
|
| 18 |
+
AC_DEFUN([BISON_I18N],
|
| 19 |
+
[
|
| 20 |
+
if test -z "$USE_NLS"; then
|
| 21 |
+
echo "The BISON-I18N macro is used without being preceded by AM-GNU-GETTEXT." 1>&2
|
| 22 |
+
exit 1
|
| 23 |
+
fi
|
| 24 |
+
BISON_LOCALEDIR=
|
| 25 |
+
BISON_USE_NLS=no
|
| 26 |
+
if test "$USE_NLS" = yes; then
|
| 27 |
+
dnl Determine bison's localedir.
|
| 28 |
+
dnl AC_PROG_YACC sets the YACC variable; other macros set the BISON variable.
|
| 29 |
+
dnl But even is YACC is called "yacc", it may be a script that invokes bison
|
| 30 |
+
dnl and accepts the --print-localedir option.
|
| 31 |
+
dnl YACC's default value is empty; BISON's default value is :.
|
| 32 |
+
if (${YACC-${BISON-:}} --print-localedir) >/dev/null 2>&1; then
|
| 33 |
+
BISON_LOCALEDIR=`${YACC-${BISON-:}} --print-localedir`
|
| 34 |
+
fi
|
| 35 |
+
AC_SUBST([BISON_LOCALEDIR])
|
| 36 |
+
if test -n "$BISON_LOCALEDIR"; then
|
| 37 |
+
dnl There is no need to enable internationalization if the user doesn't
|
| 38 |
+
dnl want message catalogs. So look at the language/locale names for
|
| 39 |
+
dnl which the user wants message catalogs. This is $LINGUAS. If unset
|
| 40 |
+
dnl or empty, he wants all of them.
|
| 41 |
+
USER_LINGUAS="${LINGUAS-%UNSET%}"
|
| 42 |
+
if test -n "$USER_LINGUAS"; then
|
| 43 |
+
BISON_USE_NLS=yes
|
| 44 |
+
fi
|
| 45 |
+
fi
|
| 46 |
+
fi
|
| 47 |
+
if test $BISON_USE_NLS = yes; then
|
| 48 |
+
AC_DEFINE([YYENABLE_NLS], 1,
|
| 49 |
+
[Define to 1 to internationalize bison runtime messages.])
|
| 50 |
+
fi
|
| 51 |
+
])
|
platform/dbops/binaries/build/share/bison/README.md
ADDED
|
@@ -0,0 +1,227 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This directory contains data needed by Bison.
|
| 2 |
+
|
| 3 |
+
# Directory Content
|
| 4 |
+
## Skeletons
|
| 5 |
+
Bison skeletons: the general shapes of the different parser kinds, that are
|
| 6 |
+
specialized for specific grammars by the bison program.
|
| 7 |
+
|
| 8 |
+
Currently, the supported skeletons are:
|
| 9 |
+
|
| 10 |
+
- yacc.c
|
| 11 |
+
It used to be named bison.simple: it corresponds to C Yacc
|
| 12 |
+
compatible LALR(1) parsers.
|
| 13 |
+
|
| 14 |
+
- lalr1.cc
|
| 15 |
+
Produces a C++ parser class.
|
| 16 |
+
|
| 17 |
+
- lalr1.java
|
| 18 |
+
Produces a Java parser class.
|
| 19 |
+
|
| 20 |
+
- glr.c
|
| 21 |
+
A Generalized LR C parser based on Bison's LALR(1) tables.
|
| 22 |
+
|
| 23 |
+
- glr.cc
|
| 24 |
+
A Generalized LR C++ parser. Actually a C++ wrapper around glr.c.
|
| 25 |
+
|
| 26 |
+
These skeletons are the only ones supported by the Bison team. Because the
|
| 27 |
+
interface between skeletons and the bison program is not finished, *we are
|
| 28 |
+
not bound to it*. In particular, Bison is not mature enough for us to
|
| 29 |
+
consider that "foreign skeletons" are supported.
|
| 30 |
+
|
| 31 |
+
## m4sugar
|
| 32 |
+
This directory contains M4sugar, sort of an extended library for M4, which
|
| 33 |
+
is used by Bison to instantiate the skeletons.
|
| 34 |
+
|
| 35 |
+
## xslt
|
| 36 |
+
This directory contains XSLT programs that transform Bison's XML output into
|
| 37 |
+
various formats.
|
| 38 |
+
|
| 39 |
+
- bison.xsl
|
| 40 |
+
A library of routines used by the other XSLT programs.
|
| 41 |
+
|
| 42 |
+
- xml2dot.xsl
|
| 43 |
+
Conversion into GraphViz's dot format.
|
| 44 |
+
|
| 45 |
+
- xml2text.xsl
|
| 46 |
+
Conversion into text.
|
| 47 |
+
|
| 48 |
+
- xml2xhtml.xsl
|
| 49 |
+
Conversion into XHTML.
|
| 50 |
+
|
| 51 |
+
# Implementation Notes About the Skeletons
|
| 52 |
+
|
| 53 |
+
"Skeleton" in Bison parlance means "backend": a skeleton is fed by the bison
|
| 54 |
+
executable with LR tables, facts about the symbols, etc. and they generate
|
| 55 |
+
the output (say parser.cc, parser.hh, location.hh, etc.). They are only in
|
| 56 |
+
charge of generating the parser and its auxiliary files, they do not
|
| 57 |
+
generate the XML output, the parser.output reports, nor the graphical
|
| 58 |
+
rendering.
|
| 59 |
+
|
| 60 |
+
The bits of information passing from bison to the backend is named
|
| 61 |
+
"muscles". Muscles are passed to M4 via its standard input: it's a set of
|
| 62 |
+
m4 definitions. To see them, use `--trace=muscles`.
|
| 63 |
+
|
| 64 |
+
Except for muscles, whose names are generated by bison, the skeletons have
|
| 65 |
+
no constraint at all on the macro names: there is no technical/theoretical
|
| 66 |
+
limitation, as long as you generate the output, you can do what you want.
|
| 67 |
+
However, of course, that would be a bad idea if, say, the C and C++
|
| 68 |
+
skeletons used different approaches and had completely different
|
| 69 |
+
implementations. That would be a maintenance nightmare.
|
| 70 |
+
|
| 71 |
+
Below, we document some of the macros that we use in several of the
|
| 72 |
+
skeletons. If you are to write a new skeleton, please, implement them for
|
| 73 |
+
your language. Overall, be sure to follow the same patterns as the existing
|
| 74 |
+
skeletons.
|
| 75 |
+
|
| 76 |
+
## Vocabulary
|
| 77 |
+
|
| 78 |
+
We use "formal arguments", or "formals" for short, to denote the declared
|
| 79 |
+
parameters of a function (e.g., `int argc, const char **argv`). Yes, this
|
| 80 |
+
is somewhat contradictory with `param` in the `%param` directives.
|
| 81 |
+
|
| 82 |
+
We use "effective arguments", or "args" for short, to denote the values
|
| 83 |
+
passed in function calls (e.g., `argc, argv`).
|
| 84 |
+
|
| 85 |
+
## Symbols
|
| 86 |
+
|
| 87 |
+
### `b4_symbol(NUM, FIELD)`
|
| 88 |
+
In order to unify the handling of the various aspects of symbols (tag, type
|
| 89 |
+
name, whether terminal, etc.), bison.exe defines one macro per (token,
|
| 90 |
+
field), where field can `has_id`, `id`, etc.: see
|
| 91 |
+
`prepare_symbol_definitions()` in `src/output.c`.
|
| 92 |
+
|
| 93 |
+
NUM can be:
|
| 94 |
+
- `empty` to denote the "empty" pseudo-symbol when it exists,
|
| 95 |
+
- `eof`, `error`, or `undef`
|
| 96 |
+
- a symbol number.
|
| 97 |
+
|
| 98 |
+
FIELD can be:
|
| 99 |
+
|
| 100 |
+
- `has_id`: 0 or 1
|
| 101 |
+
Whether the symbol has an `id`.
|
| 102 |
+
|
| 103 |
+
- `id`: string (e.g., `exp`, `NUM`, or `TOK_NUM` with api.token.prefix)
|
| 104 |
+
If `has_id`, the name of the token kind (prefixed by api.token.prefix if
|
| 105 |
+
defined), otherwise empty. Guaranteed to be usable as a C identifier.
|
| 106 |
+
This is used to define the token kind (i.e., the enum used by the return
|
| 107 |
+
value of yylex). Should be named `token_kind`.
|
| 108 |
+
|
| 109 |
+
- `tag`: string
|
| 110 |
+
A human readable representation of the symbol. Can be `'foo'`,
|
| 111 |
+
`'foo.id'`, `'"foo"'` etc.
|
| 112 |
+
|
| 113 |
+
- `code`: integer
|
| 114 |
+
The token code associated to the token kind `id`.
|
| 115 |
+
The external number as used by yylex. Can be ASCII code when a character,
|
| 116 |
+
some number chosen by bison, or some user number in the case of `%token
|
| 117 |
+
FOO <NUM>`. Corresponds to `yychar` in `yacc.c`.
|
| 118 |
+
|
| 119 |
+
- `is_token`: 0 or 1
|
| 120 |
+
Whether this is a terminal symbol.
|
| 121 |
+
|
| 122 |
+
- `kind_base`: string (e.g., `YYSYMBOL_exp`, `YYSYMBOL_NUM`)
|
| 123 |
+
The base of the symbol kind, i.e., the enumerator of this symbol (token or
|
| 124 |
+
nonterminal) which is mapped to its `number`.
|
| 125 |
+
|
| 126 |
+
- `kind`: string
|
| 127 |
+
Same as `kind_base`, but possibly with a prefix in some languages. E.g.,
|
| 128 |
+
EOF's `kind_base` and `kind` are `YYSYMBOL_YYEOF` in C, but are
|
| 129 |
+
`S_YYEMPTY` and `symbol_kind::S_YYEMPTY` in C++.
|
| 130 |
+
|
| 131 |
+
- `number`: integer
|
| 132 |
+
The code associated to the `kind`.
|
| 133 |
+
The internal number (computed from the external number by yytranslate).
|
| 134 |
+
Corresponds to yytoken in yacc.c. This is the same number that serves as
|
| 135 |
+
key in b4_symbol(NUM, FIELD).
|
| 136 |
+
|
| 137 |
+
In bison, symbols are first assigned increasing numbers in order of
|
| 138 |
+
appearance (but tokens first, then nterms). After grammar reduction,
|
| 139 |
+
unused nterms are then renumbered to appear last (i.e., first tokens, then
|
| 140 |
+
used nterms and finally unused nterms). This final number NUM is the one
|
| 141 |
+
contained in this field, and it is the one used as key in `b4_symbol(NUM,
|
| 142 |
+
FIELD)`.
|
| 143 |
+
|
| 144 |
+
The code of the rule actions, however, is emitted before we know what
|
| 145 |
+
symbols are unused, so they use the original numbers. To avoid confusion,
|
| 146 |
+
they actually use "orig NUM" instead of just "NUM". bison also emits
|
| 147 |
+
definitions for `b4_symbol(orig NUM, number)` that map from original
|
| 148 |
+
numbers to the new ones. `b4_symbol` actually resolves `orig NUM` in the
|
| 149 |
+
other case, i.e., `b4_symbol(orig 42, tag)` would return the tag of the
|
| 150 |
+
symbols whose original number was 42.
|
| 151 |
+
|
| 152 |
+
- `has_type`: 0, 1
|
| 153 |
+
Whether has a semantic value.
|
| 154 |
+
|
| 155 |
+
- `type_tag`: string
|
| 156 |
+
When api.value.type=union, the generated name for the union member.
|
| 157 |
+
yytype_INT etc. for symbols that has_id, otherwise yytype_1 etc.
|
| 158 |
+
|
| 159 |
+
- `type`: string
|
| 160 |
+
If it has a semantic value, its type tag, or, if variant are used,
|
| 161 |
+
its type.
|
| 162 |
+
In the case of api.value.type=union, type is the real type (e.g. int).
|
| 163 |
+
|
| 164 |
+
- `slot`: string
|
| 165 |
+
If it has a semantic value, the name of the union member (i.e., bounces to
|
| 166 |
+
either `type_tag` or `type`). It would be better to fix our mess and
|
| 167 |
+
always use `type` for the true type of the member, and `type_tag` for the
|
| 168 |
+
name of the union member.
|
| 169 |
+
|
| 170 |
+
- `has_printer`: 0, 1
|
| 171 |
+
- `printer`: string
|
| 172 |
+
- `printer_file`: string
|
| 173 |
+
- `printer_line`: integer
|
| 174 |
+
- `printer_loc`: location
|
| 175 |
+
If the symbol has a printer, everything about it.
|
| 176 |
+
|
| 177 |
+
- `has_destructor`, `destructor`, `destructor_file`, `destructor_line`, `destructor_loc`
|
| 178 |
+
Likewise.
|
| 179 |
+
|
| 180 |
+
### `b4_symbol_value(VAL, [SYMBOL-NUM], [TYPE-TAG])`
|
| 181 |
+
Expansion of $$, $1, $<TYPE-TAG>3, etc.
|
| 182 |
+
|
| 183 |
+
The semantic value from a given VAL.
|
| 184 |
+
- `VAL`: some semantic value storage (typically a union). e.g., `yylval`
|
| 185 |
+
- `SYMBOL-NUM`: the symbol number from which we extract the type tag.
|
| 186 |
+
- `TYPE-TAG`, the user forced the `<TYPE-TAG>`.
|
| 187 |
+
|
| 188 |
+
The result can be used safely, it is put in parens to avoid nasty precedence
|
| 189 |
+
issues.
|
| 190 |
+
|
| 191 |
+
### `b4_lhs_value(SYMBOL-NUM, [TYPE])`
|
| 192 |
+
Expansion of `$$` or `$<TYPE>$`, for symbol `SYMBOL-NUM`.
|
| 193 |
+
|
| 194 |
+
### `b4_rhs_data(RULE-LENGTH, POS)`
|
| 195 |
+
The data corresponding to the symbol `#POS`, where the current rule has
|
| 196 |
+
`RULE-LENGTH` symbols on RHS.
|
| 197 |
+
|
| 198 |
+
### `b4_rhs_value(RULE-LENGTH, POS, SYMBOL-NUM, [TYPE])`
|
| 199 |
+
Expansion of `$<TYPE>POS`, where the current rule has `RULE-LENGTH` symbols
|
| 200 |
+
on RHS.
|
| 201 |
+
|
| 202 |
+
<!--
|
| 203 |
+
|
| 204 |
+
Local Variables:
|
| 205 |
+
mode: markdown
|
| 206 |
+
fill-column: 76
|
| 207 |
+
ispell-dictionary: "american"
|
| 208 |
+
End:
|
| 209 |
+
|
| 210 |
+
Copyright (C) 2002, 2008-2015, 2018-2021 Free Software Foundation, Inc.
|
| 211 |
+
|
| 212 |
+
This file is part of GNU Bison.
|
| 213 |
+
|
| 214 |
+
This program is free software: you can redistribute it and/or modify
|
| 215 |
+
it under the terms of the GNU General Public License as published by
|
| 216 |
+
the Free Software Foundation, either version 3 of the License, or
|
| 217 |
+
(at your option) any later version.
|
| 218 |
+
|
| 219 |
+
This program is distributed in the hope that it will be useful,
|
| 220 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 221 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 222 |
+
GNU General Public License for more details.
|
| 223 |
+
|
| 224 |
+
You should have received a copy of the GNU General Public License
|
| 225 |
+
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
| 226 |
+
|
| 227 |
+
-->
|
platform/dbops/binaries/build/share/bison/bison-default.css
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Default styling rules for Bison when doing terminal output.
|
| 2 |
+
Copyright (C) 2019-2021 Free Software Foundation, Inc.
|
| 3 |
+
|
| 4 |
+
This program is free software: you can redistribute it and/or modify
|
| 5 |
+
it under the terms of the GNU General Public License as published by
|
| 6 |
+
the Free Software Foundation; either version 3 of the License, or
|
| 7 |
+
(at your option) any later version.
|
| 8 |
+
|
| 9 |
+
This program is distributed in the hope that it will be useful,
|
| 10 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 11 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 12 |
+
GNU General Public License for more details.
|
| 13 |
+
|
| 14 |
+
You should have received a copy of the GNU General Public License
|
| 15 |
+
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
| 16 |
+
|
| 17 |
+
/* This is an experimental feature. The class names may change in the
|
| 18 |
+
future. */
|
| 19 |
+
|
| 20 |
+
/* Diagnostics. */
|
| 21 |
+
.warning { color: purple; }
|
| 22 |
+
.error { color: red; }
|
| 23 |
+
.note { color: cyan; }
|
| 24 |
+
|
| 25 |
+
.fixit-insert { color: green; }
|
| 26 |
+
|
| 27 |
+
/* Semantic values in Bison's own parser traces. */
|
| 28 |
+
.value { color: green; }
|
| 29 |
+
|
| 30 |
+
/* "Sections" in traces (--trace). */
|
| 31 |
+
.trace0 { color: green; }
|
| 32 |
+
|
| 33 |
+
/* Syntax error messages. */
|
| 34 |
+
.expected { color: green; }
|
| 35 |
+
.unexpected { color: red; }
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
/* Counterexamples. */
|
| 39 |
+
|
| 40 |
+
/* Cex: point in rule. */
|
| 41 |
+
.cex-dot { color: red; }
|
| 42 |
+
|
| 43 |
+
/* Cex: coloring various rules. */
|
| 44 |
+
.cex-0 { color: yellow; }
|
| 45 |
+
.cex-1 { color: green; }
|
| 46 |
+
.cex-2 { color: blue; }
|
| 47 |
+
.cex-3 { color: purple; }
|
| 48 |
+
.cex-4 { color: violet; }
|
| 49 |
+
.cex-5 { color: orange; }
|
| 50 |
+
.cex-6 { color: brown; }
|
| 51 |
+
.cex-7 { color: mauve; }
|
| 52 |
+
.cex-8 { color: #013220; } /* Dark green. */
|
| 53 |
+
.cex-9 { color: #e75480; } /* Dark pink. */
|
| 54 |
+
.cex-10 { color: cyan; }
|
| 55 |
+
.cex-11 { color: orange; }
|
| 56 |
+
|
| 57 |
+
/* Cex: derivation rewriting steps. */
|
| 58 |
+
.cex-step { font-style: italic; }
|
| 59 |
+
|
| 60 |
+
/* Cex: leaves of a derivation. */
|
| 61 |
+
.cex-leaf { font-weight: 600; }
|
platform/dbops/binaries/build/share/info/bison.info
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
platform/dbops/binaries/build/share/info/flex.info
ADDED
|
@@ -0,0 +1,281 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This is flex.info, produced by makeinfo version 6.1 from flex.texi.
|
| 2 |
+
|
| 3 |
+
The flex manual is placed under the same licensing conditions as the
|
| 4 |
+
rest of flex:
|
| 5 |
+
|
| 6 |
+
Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2012 The Flex
|
| 7 |
+
Project.
|
| 8 |
+
|
| 9 |
+
Copyright (C) 1990, 1997 The Regents of the University of California.
|
| 10 |
+
All rights reserved.
|
| 11 |
+
|
| 12 |
+
This code is derived from software contributed to Berkeley by Vern
|
| 13 |
+
Paxson.
|
| 14 |
+
|
| 15 |
+
The United States Government has rights in this work pursuant to
|
| 16 |
+
contract no. DE-AC03-76SF00098 between the United States Department of
|
| 17 |
+
Energy and the University of California.
|
| 18 |
+
|
| 19 |
+
Redistribution and use in source and binary forms, with or without
|
| 20 |
+
modification, are permitted provided that the following conditions are
|
| 21 |
+
met:
|
| 22 |
+
|
| 23 |
+
1. Redistributions of source code must retain the above copyright
|
| 24 |
+
notice, this list of conditions and the following disclaimer.
|
| 25 |
+
|
| 26 |
+
2. Redistributions in binary form must reproduce the above copyright
|
| 27 |
+
notice, this list of conditions and the following disclaimer in the
|
| 28 |
+
documentation and/or other materials provided with the
|
| 29 |
+
distribution.
|
| 30 |
+
|
| 31 |
+
Neither the name of the University nor the names of its contributors
|
| 32 |
+
may be used to endorse or promote products derived from this software
|
| 33 |
+
without specific prior written permission.
|
| 34 |
+
|
| 35 |
+
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
| 36 |
+
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
| 37 |
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
| 38 |
+
INFO-DIR-SECTION Programming
|
| 39 |
+
START-INFO-DIR-ENTRY
|
| 40 |
+
* flex: (flex). Fast lexical analyzer generator (lex replacement).
|
| 41 |
+
END-INFO-DIR-ENTRY
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
Indirect:
|
| 45 |
+
flex.info-1: 1622
|
| 46 |
+
flex.info-2: 318745
|
| 47 |
+
|
| 48 |
+
Tag Table:
|
| 49 |
+
(Indirect)
|
| 50 |
+
Node: Top1622
|
| 51 |
+
Node: Copyright9414
|
| 52 |
+
Node: Reporting Bugs10933
|
| 53 |
+
Node: Introduction11189
|
| 54 |
+
Node: Simple Examples12018
|
| 55 |
+
Node: Format15304
|
| 56 |
+
Node: Definitions Section15759
|
| 57 |
+
Ref: Definitions Section-Footnote-118017
|
| 58 |
+
Node: Rules Section18085
|
| 59 |
+
Node: User Code Section19243
|
| 60 |
+
Node: Comments in the Input19681
|
| 61 |
+
Node: Patterns21051
|
| 62 |
+
Ref: case and character ranges27883
|
| 63 |
+
Node: Matching31886
|
| 64 |
+
Node: Actions35171
|
| 65 |
+
Node: Generated Scanner44133
|
| 66 |
+
Node: Start Conditions49136
|
| 67 |
+
Node: Multiple Input Buffers59678
|
| 68 |
+
Ref: Scanning Strings66221
|
| 69 |
+
Node: EOF67850
|
| 70 |
+
Node: Misc Macros69436
|
| 71 |
+
Node: User Values72290
|
| 72 |
+
Node: Yacc74615
|
| 73 |
+
Node: Scanner Options75510
|
| 74 |
+
Node: Options for Specifying Filenames78299
|
| 75 |
+
Ref: option-header78525
|
| 76 |
+
Ref: option-outfile79239
|
| 77 |
+
Ref: option-stdout79564
|
| 78 |
+
Node: Options Affecting Scanner Behavior80547
|
| 79 |
+
Ref: option-case-insensitive80788
|
| 80 |
+
Ref: option-lex-compat81221
|
| 81 |
+
Ref: option-batch81753
|
| 82 |
+
Ref: option-interactive82272
|
| 83 |
+
Ref: option-7bit83626
|
| 84 |
+
Ref: option-8bit84930
|
| 85 |
+
Ref: option-default85342
|
| 86 |
+
Ref: option-always-interactive85406
|
| 87 |
+
Ref: option-posix86010
|
| 88 |
+
Ref: option-stack87157
|
| 89 |
+
Ref: option-stdinit87265
|
| 90 |
+
Ref: option-yylineno87744
|
| 91 |
+
Ref: option-yywrap88187
|
| 92 |
+
Node: Code-Level And API Options88454
|
| 93 |
+
Ref: option-ansi-definitions88681
|
| 94 |
+
Ref: option-ansi-prototypes88756
|
| 95 |
+
Ref: option-bison-bridge88829
|
| 96 |
+
Ref: option-bison-locations89170
|
| 97 |
+
Ref: option-noline89430
|
| 98 |
+
Ref: option-reentrant89944
|
| 99 |
+
Ref: option-c++90556
|
| 100 |
+
Ref: option-array90682
|
| 101 |
+
Ref: option-pointer90780
|
| 102 |
+
Ref: option-prefix90907
|
| 103 |
+
Ref: option-main92435
|
| 104 |
+
Ref: option-nounistd92619
|
| 105 |
+
Ref: option-yyclass93130
|
| 106 |
+
Node: Options for Scanner Speed and Size93614
|
| 107 |
+
Ref: option-align94164
|
| 108 |
+
Ref: option-ecs94666
|
| 109 |
+
Ref: option-meta-ecs95705
|
| 110 |
+
Ref: option-read96193
|
| 111 |
+
Ref: option-full98076
|
| 112 |
+
Ref: option-fast98271
|
| 113 |
+
Node: Debugging Options99195
|
| 114 |
+
Ref: option-backup99382
|
| 115 |
+
Ref: option-debug99927
|
| 116 |
+
Ref: option-perf-report100649
|
| 117 |
+
Ref: option-nodefault101275
|
| 118 |
+
Ref: option-trace101593
|
| 119 |
+
Ref: option-nowarn101884
|
| 120 |
+
Ref: option-verbose101952
|
| 121 |
+
Ref: option-warn102381
|
| 122 |
+
Node: Miscellaneous Options102600
|
| 123 |
+
Node: Performance103056
|
| 124 |
+
Node: Cxx113303
|
| 125 |
+
Node: Reentrant121395
|
| 126 |
+
Node: Reentrant Uses122129
|
| 127 |
+
Node: Reentrant Overview123691
|
| 128 |
+
Node: Reentrant Example124491
|
| 129 |
+
Node: Reentrant Detail125264
|
| 130 |
+
Node: Specify Reentrant125768
|
| 131 |
+
Node: Extra Reentrant Argument126418
|
| 132 |
+
Node: Global Replacement127670
|
| 133 |
+
Node: Init and Destroy Functions128905
|
| 134 |
+
Node: Accessor Methods131426
|
| 135 |
+
Node: Extra Data132773
|
| 136 |
+
Node: About yyscan_t135040
|
| 137 |
+
Node: Reentrant Functions135437
|
| 138 |
+
Ref: bison-functions136921
|
| 139 |
+
Node: Lex and Posix137660
|
| 140 |
+
Node: Memory Management145007
|
| 141 |
+
Ref: memory-management145153
|
| 142 |
+
Node: The Default Memory Management145387
|
| 143 |
+
Ref: The Default Memory Management-Footnote-1149207
|
| 144 |
+
Node: Overriding The Default Memory Management149360
|
| 145 |
+
Ref: Overriding The Default Memory Management-Footnote-1151774
|
| 146 |
+
Node: A Note About yytext And Memory151938
|
| 147 |
+
Node: Serialized Tables153178
|
| 148 |
+
Ref: serialization153322
|
| 149 |
+
Node: Creating Serialized Tables154102
|
| 150 |
+
Node: Loading and Unloading Serialized Tables155717
|
| 151 |
+
Node: Tables File Format157490
|
| 152 |
+
Node: Diagnostics164515
|
| 153 |
+
Node: Limitations167924
|
| 154 |
+
Node: Bibliography169872
|
| 155 |
+
Node: FAQ170542
|
| 156 |
+
Node: When was flex born?175705
|
| 157 |
+
Node: How do I expand backslash-escape sequences in C-style quoted strings?176082
|
| 158 |
+
Node: Why do flex scanners call fileno if it is not ANSI compatible?177385
|
| 159 |
+
Node: Does flex support recursive pattern definitions?178182
|
| 160 |
+
Node: How do I skip huge chunks of input (tens of megabytes) while using flex?179029
|
| 161 |
+
Node: Flex is not matching my patterns in the same order that I defined them.179496
|
| 162 |
+
Node: My actions are executing out of order or sometimes not at all.181242
|
| 163 |
+
Node: How can I have multiple input sources feed into the same scanner at the same time?182015
|
| 164 |
+
Node: Can I build nested parsers that work with the same input file?184000
|
| 165 |
+
Node: How can I match text only at the end of a file?185007
|
| 166 |
+
Node: How can I make REJECT cascade across start condition boundaries?185811
|
| 167 |
+
Node: Why cant I use fast or full tables with interactive mode?186825
|
| 168 |
+
Node: How much faster is -F or -f than -C?188082
|
| 169 |
+
Node: If I have a simple grammar cant I just parse it with flex?188394
|
| 170 |
+
Node: Why doesn't yyrestart() set the start state back to INITIAL?188876
|
| 171 |
+
Node: How can I match C-style comments?189503
|
| 172 |
+
Node: The period isn't working the way I expected.190313
|
| 173 |
+
Node: Can I get the flex manual in another format?191558
|
| 174 |
+
Node: Does there exist a "faster" NDFA->DFA algorithm?192048
|
| 175 |
+
Node: How does flex compile the DFA so quickly?192558
|
| 176 |
+
Node: How can I use more than 8192 rules?193524
|
| 177 |
+
Node: How do I abandon a file in the middle of a scan and switch to a new file?194934
|
| 178 |
+
Node: How do I execute code only during initialization (only before the first scan)?195488
|
| 179 |
+
Node: How do I execute code at termination?196265
|
| 180 |
+
Node: Where else can I find help?196591
|
| 181 |
+
Node: Can I include comments in the "rules" section of the file?196965
|
| 182 |
+
Node: I get an error about undefined yywrap().197345
|
| 183 |
+
Node: How can I change the matching pattern at run time?197821
|
| 184 |
+
Node: How can I expand macros in the input?198183
|
| 185 |
+
Node: How can I build a two-pass scanner?199215
|
| 186 |
+
Node: How do I match any string not matched in the preceding rules?200133
|
| 187 |
+
Node: I am trying to port code from AT&T lex that uses yysptr and yysbuf.201042
|
| 188 |
+
Node: Is there a way to make flex treat NULL like a regular character?201837
|
| 189 |
+
Node: Whenever flex can not match the input it says "flex scanner jammed".202357
|
| 190 |
+
Node: Why doesn't flex have non-greedy operators like perl does?203000
|
| 191 |
+
Node: Memory leak - 16386 bytes allocated by malloc.204353
|
| 192 |
+
Ref: faq-memory-leak204651
|
| 193 |
+
Node: How do I track the byte offset for lseek()?205622
|
| 194 |
+
Node: How do I use my own I/O classes in a C++ scanner?207131
|
| 195 |
+
Node: How do I skip as many chars as possible?207974
|
| 196 |
+
Node: deleteme00209049
|
| 197 |
+
Node: Are certain equivalent patterns faster than others?209489
|
| 198 |
+
Node: Is backing up a big deal?212907
|
| 199 |
+
Node: Can I fake multi-byte character support?214813
|
| 200 |
+
Node: deleteme01216254
|
| 201 |
+
Node: Can you discuss some flex internals?217363
|
| 202 |
+
Node: unput() messes up yy_at_bol219607
|
| 203 |
+
Node: The | operator is not doing what I want220709
|
| 204 |
+
Node: Why can't flex understand this variable trailing context pattern?222255
|
| 205 |
+
Node: The ^ operator isn't working223504
|
| 206 |
+
Node: Trailing context is getting confused with trailing optional patterns224739
|
| 207 |
+
Node: Is flex GNU or not?225982
|
| 208 |
+
Node: ERASEME53227655
|
| 209 |
+
Node: I need to scan if-then-else blocks and while loops228425
|
| 210 |
+
Node: ERASEME55229624
|
| 211 |
+
Node: ERASEME56230722
|
| 212 |
+
Node: ERASEME57232080
|
| 213 |
+
Node: Is there a repository for flex scanners?233078
|
| 214 |
+
Node: How can I conditionally compile or preprocess my flex input file?233394
|
| 215 |
+
Node: Where can I find grammars for lex and yacc?233867
|
| 216 |
+
Node: I get an end-of-buffer message for each character scanned.234214
|
| 217 |
+
Node: unnamed-faq-62234809
|
| 218 |
+
Node: unnamed-faq-63235827
|
| 219 |
+
Node: unnamed-faq-64237124
|
| 220 |
+
Node: unnamed-faq-65238090
|
| 221 |
+
Node: unnamed-faq-66238876
|
| 222 |
+
Node: unnamed-faq-67239991
|
| 223 |
+
Node: unnamed-faq-68240978
|
| 224 |
+
Node: unnamed-faq-69242120
|
| 225 |
+
Node: unnamed-faq-70242833
|
| 226 |
+
Node: unnamed-faq-71243594
|
| 227 |
+
Node: unnamed-faq-72244803
|
| 228 |
+
Node: unnamed-faq-73245846
|
| 229 |
+
Node: unnamed-faq-74246770
|
| 230 |
+
Node: unnamed-faq-75247715
|
| 231 |
+
Node: unnamed-faq-76248847
|
| 232 |
+
Node: unnamed-faq-77249553
|
| 233 |
+
Node: unnamed-faq-78250446
|
| 234 |
+
Node: unnamed-faq-79251444
|
| 235 |
+
Node: unnamed-faq-80253144
|
| 236 |
+
Node: unnamed-faq-81254462
|
| 237 |
+
Node: unnamed-faq-82257262
|
| 238 |
+
Node: unnamed-faq-83258219
|
| 239 |
+
Node: unnamed-faq-84259999
|
| 240 |
+
Node: unnamed-faq-85261102
|
| 241 |
+
Node: unnamed-faq-86262109
|
| 242 |
+
Node: unnamed-faq-87263047
|
| 243 |
+
Node: unnamed-faq-88263693
|
| 244 |
+
Node: unnamed-faq-90264524
|
| 245 |
+
Node: unnamed-faq-91265787
|
| 246 |
+
Node: unnamed-faq-92268215
|
| 247 |
+
Node: unnamed-faq-93268714
|
| 248 |
+
Node: unnamed-faq-94269641
|
| 249 |
+
Node: unnamed-faq-95271053
|
| 250 |
+
Node: unnamed-faq-96272571
|
| 251 |
+
Node: unnamed-faq-97273330
|
| 252 |
+
Node: unnamed-faq-98273997
|
| 253 |
+
Node: unnamed-faq-99274662
|
| 254 |
+
Node: unnamed-faq-100275591
|
| 255 |
+
Node: unnamed-faq-101276301
|
| 256 |
+
Node: What is the difference between YYLEX_PARAM and YY_DECL?277114
|
| 257 |
+
Node: Why do I get "conflicting types for yylex" error?277638
|
| 258 |
+
Node: How do I access the values set in a Flex action from within a Bison action?278168
|
| 259 |
+
Node: Appendices278597
|
| 260 |
+
Node: Makefiles and Flex278862
|
| 261 |
+
Ref: Makefiles and Flex-Footnote-1282064
|
| 262 |
+
Ref: Makefiles and Flex-Footnote-2282181
|
| 263 |
+
Ref: Makefiles and Flex-Footnote-3282368
|
| 264 |
+
Node: Bison Bridge282419
|
| 265 |
+
Ref: Bison Bridge-Footnote-1285086
|
| 266 |
+
Node: M4 Dependency285278
|
| 267 |
+
Ref: M4 Dependency-Footnote-1286692
|
| 268 |
+
Node: Common Patterns286828
|
| 269 |
+
Node: Numbers287151
|
| 270 |
+
Node: Identifiers288127
|
| 271 |
+
Node: Quoted Constructs288954
|
| 272 |
+
Node: Addresses290008
|
| 273 |
+
Node: Indices291320
|
| 274 |
+
Node: Concept Index291612
|
| 275 |
+
Node: Index of Functions and Macros318745
|
| 276 |
+
Node: Index of Variables323714
|
| 277 |
+
Node: Index of Data Types325380
|
| 278 |
+
Node: Index of Hooks326268
|
| 279 |
+
Node: Index of Scanner Options326836
|
| 280 |
+
|
| 281 |
+
End Tag Table
|
platform/dbops/binaries/build/share/info/flex.info-1
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
platform/dbops/binaries/build/share/info/flex.info-2
ADDED
|
Binary file (27 kB). View file
|
|
|
platform/dbops/binaries/build/share/info/m4.info
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This is m4.info, produced by makeinfo version 6.7 from m4.texi.
|
| 2 |
+
|
| 3 |
+
This manual (28 May 2021) is for GNU M4 (version 1.4.19), a package
|
| 4 |
+
containing an implementation of the m4 macro language.
|
| 5 |
+
|
| 6 |
+
Copyright © 1989–1994, 2004–2014, 2016–2017, 2020–2021 Free Software
|
| 7 |
+
Foundation, Inc.
|
| 8 |
+
|
| 9 |
+
Permission is granted to copy, distribute and/or modify this
|
| 10 |
+
document under the terms of the GNU Free Documentation License,
|
| 11 |
+
Version 1.3 or any later version published by the Free Software
|
| 12 |
+
Foundation; with no Invariant Sections, no Front-Cover Texts, and
|
| 13 |
+
no Back-Cover Texts. A copy of the license is included in the
|
| 14 |
+
section entitled “GNU Free Documentation License.”
|
| 15 |
+
INFO-DIR-SECTION Text creation and manipulation
|
| 16 |
+
START-INFO-DIR-ENTRY
|
| 17 |
+
* M4: (m4). A powerful macro processor.
|
| 18 |
+
END-INFO-DIR-ENTRY
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
Indirect:
|
| 22 |
+
m4.info-1: 840
|
| 23 |
+
m4.info-2: 310227
|
| 24 |
+
|
| 25 |
+
Tag Table:
|
| 26 |
+
(Indirect)
|
| 27 |
+
Node: Top840
|
| 28 |
+
Node: Preliminaries9797
|
| 29 |
+
Node: Intro10503
|
| 30 |
+
Node: History12194
|
| 31 |
+
Node: Bugs16281
|
| 32 |
+
Node: Manual17556
|
| 33 |
+
Node: Invoking m421066
|
| 34 |
+
Node: Operation modes23270
|
| 35 |
+
Node: Preprocessor features26369
|
| 36 |
+
Node: Limits control29539
|
| 37 |
+
Node: Frozen state33550
|
| 38 |
+
Node: Debugging options34389
|
| 39 |
+
Node: Command line files36441
|
| 40 |
+
Node: Syntax38092
|
| 41 |
+
Node: Names39247
|
| 42 |
+
Node: Quoted strings39729
|
| 43 |
+
Node: Comments40396
|
| 44 |
+
Node: Other tokens41300
|
| 45 |
+
Node: Input processing41894
|
| 46 |
+
Ref: Input processing-Footnote-150337
|
| 47 |
+
Node: Macros50534
|
| 48 |
+
Node: Invocation51028
|
| 49 |
+
Node: Inhibiting Invocation51829
|
| 50 |
+
Node: Macro Arguments56077
|
| 51 |
+
Node: Quoting Arguments59199
|
| 52 |
+
Node: Macro expansion61339
|
| 53 |
+
Node: Definitions62059
|
| 54 |
+
Node: Define62844
|
| 55 |
+
Node: Arguments65365
|
| 56 |
+
Node: Pseudo Arguments69132
|
| 57 |
+
Node: Undefine72762
|
| 58 |
+
Node: Defn73924
|
| 59 |
+
Node: Pushdef78479
|
| 60 |
+
Node: Indir81221
|
| 61 |
+
Node: Builtin83393
|
| 62 |
+
Node: Conditionals85669
|
| 63 |
+
Node: Ifdef86615
|
| 64 |
+
Node: Ifelse87498
|
| 65 |
+
Node: Shift90887
|
| 66 |
+
Node: Forloop101719
|
| 67 |
+
Node: Foreach104402
|
| 68 |
+
Node: Stacks110026
|
| 69 |
+
Node: Composition113163
|
| 70 |
+
Node: Debugging119258
|
| 71 |
+
Node: Dumpdef119851
|
| 72 |
+
Node: Trace121223
|
| 73 |
+
Node: Debug Levels124877
|
| 74 |
+
Node: Debug Output129752
|
| 75 |
+
Node: Input Control131066
|
| 76 |
+
Node: Dnl131607
|
| 77 |
+
Node: Changequote133553
|
| 78 |
+
Node: Changecom139947
|
| 79 |
+
Node: Changeword143840
|
| 80 |
+
Node: M4wrap149443
|
| 81 |
+
Node: File Inclusion153534
|
| 82 |
+
Node: Include153855
|
| 83 |
+
Node: Search Path156674
|
| 84 |
+
Node: Diversions157623
|
| 85 |
+
Node: Divert159332
|
| 86 |
+
Node: Undivert161905
|
| 87 |
+
Node: Divnum165291
|
| 88 |
+
Node: Cleardivert165764
|
| 89 |
+
Node: Text handling166986
|
| 90 |
+
Node: Len167713
|
| 91 |
+
Node: Index macro168108
|
| 92 |
+
Node: Regexp169002
|
| 93 |
+
Node: Substr171590
|
| 94 |
+
Node: Translit172649
|
| 95 |
+
Node: Patsubst175449
|
| 96 |
+
Node: Format180080
|
| 97 |
+
Node: Arithmetic183491
|
| 98 |
+
Node: Incr183944
|
| 99 |
+
Node: Eval184739
|
| 100 |
+
Node: Shell commands192948
|
| 101 |
+
Node: Platform macros193886
|
| 102 |
+
Node: Syscmd196088
|
| 103 |
+
Node: Esyscmd198464
|
| 104 |
+
Node: Sysval200048
|
| 105 |
+
Node: Mkstemp201993
|
| 106 |
+
Node: Miscellaneous206052
|
| 107 |
+
Node: Errprint206489
|
| 108 |
+
Node: Location207742
|
| 109 |
+
Node: M4exit210623
|
| 110 |
+
Node: Frozen files212757
|
| 111 |
+
Node: Using frozen files213557
|
| 112 |
+
Node: Frozen file format216938
|
| 113 |
+
Node: Compatibility220088
|
| 114 |
+
Node: Extensions221170
|
| 115 |
+
Node: Incompatibilities225224
|
| 116 |
+
Node: Other Incompatibilities234528
|
| 117 |
+
Node: Answers237258
|
| 118 |
+
Node: Improved exch238072
|
| 119 |
+
Node: Improved forloop238625
|
| 120 |
+
Node: Improved foreach244081
|
| 121 |
+
Node: Improved copy257459
|
| 122 |
+
Node: Improved m4wrap261518
|
| 123 |
+
Node: Improved cleardivert264014
|
| 124 |
+
Node: Improved capitalize265012
|
| 125 |
+
Node: Improved fatal_error270048
|
| 126 |
+
Node: Copying This Package271145
|
| 127 |
+
Node: GNU General Public License271624
|
| 128 |
+
Node: Copying This Manual310227
|
| 129 |
+
Node: GNU Free Documentation License310751
|
| 130 |
+
Node: Indices336068
|
| 131 |
+
Node: Macro index336352
|
| 132 |
+
Node: Concept index342743
|
| 133 |
+
|
| 134 |
+
End Tag Table
|
| 135 |
+
|
| 136 |
+
|
| 137 |
+
Local Variables:
|
| 138 |
+
coding: utf-8
|
| 139 |
+
End:
|
platform/dbops/binaries/build/share/info/m4.info-1
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
platform/dbops/binaries/build/share/info/m4.info-2
ADDED
|
@@ -0,0 +1,924 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This is m4.info, produced by makeinfo version 6.7 from m4.texi.
|
| 2 |
+
|
| 3 |
+
This manual (28 May 2021) is for GNU M4 (version 1.4.19), a package
|
| 4 |
+
containing an implementation of the m4 macro language.
|
| 5 |
+
|
| 6 |
+
Copyright © 1989–1994, 2004–2014, 2016–2017, 2020–2021 Free Software
|
| 7 |
+
Foundation, Inc.
|
| 8 |
+
|
| 9 |
+
Permission is granted to copy, distribute and/or modify this
|
| 10 |
+
document under the terms of the GNU Free Documentation License,
|
| 11 |
+
Version 1.3 or any later version published by the Free Software
|
| 12 |
+
Foundation; with no Invariant Sections, no Front-Cover Texts, and
|
| 13 |
+
no Back-Cover Texts. A copy of the license is included in the
|
| 14 |
+
section entitled “GNU Free Documentation License.”
|
| 15 |
+
INFO-DIR-SECTION Text creation and manipulation
|
| 16 |
+
START-INFO-DIR-ENTRY
|
| 17 |
+
* M4: (m4). A powerful macro processor.
|
| 18 |
+
END-INFO-DIR-ENTRY
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
File: m4.info, Node: Copying This Manual, Next: Indices, Prev: Copying This Package, Up: Top
|
| 22 |
+
|
| 23 |
+
Appendix B How to make copies of this manual
|
| 24 |
+
********************************************
|
| 25 |
+
|
| 26 |
+
This appendix covers the license for copying this manual. Note that
|
| 27 |
+
some of the longer examples in this manual are also distributed in the
|
| 28 |
+
directory ‘m4-1.4.19/examples/’, where a more permissive license is in
|
| 29 |
+
effect when copying just the examples.
|
| 30 |
+
|
| 31 |
+
* Menu:
|
| 32 |
+
|
| 33 |
+
* GNU Free Documentation License:: License for copying this manual
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
File: m4.info, Node: GNU Free Documentation License, Up: Copying This Manual
|
| 37 |
+
|
| 38 |
+
B.1 License for copying this manual
|
| 39 |
+
===================================
|
| 40 |
+
|
| 41 |
+
Version 1.3, 3 November 2008
|
| 42 |
+
|
| 43 |
+
Copyright © 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
|
| 44 |
+
<https://fsf.org/>
|
| 45 |
+
|
| 46 |
+
Everyone is permitted to copy and distribute verbatim copies
|
| 47 |
+
of this license document, but changing it is not allowed.
|
| 48 |
+
|
| 49 |
+
0. PREAMBLE
|
| 50 |
+
|
| 51 |
+
The purpose of this License is to make a manual, textbook, or other
|
| 52 |
+
functional and useful document “free” in the sense of freedom: to
|
| 53 |
+
assure everyone the effective freedom to copy and redistribute it,
|
| 54 |
+
with or without modifying it, either commercially or
|
| 55 |
+
noncommercially. Secondarily, this License preserves for the
|
| 56 |
+
author and publisher a way to get credit for their work, while not
|
| 57 |
+
being considered responsible for modifications made by others.
|
| 58 |
+
|
| 59 |
+
This License is a kind of “copyleft”, which means that derivative
|
| 60 |
+
works of the document must themselves be free in the same sense.
|
| 61 |
+
It complements the GNU General Public License, which is a copyleft
|
| 62 |
+
license designed for free software.
|
| 63 |
+
|
| 64 |
+
We have designed this License in order to use it for manuals for
|
| 65 |
+
free software, because free software needs free documentation: a
|
| 66 |
+
free program should come with manuals providing the same freedoms
|
| 67 |
+
that the software does. But this License is not limited to
|
| 68 |
+
software manuals; it can be used for any textual work, regardless
|
| 69 |
+
of subject matter or whether it is published as a printed book. We
|
| 70 |
+
recommend this License principally for works whose purpose is
|
| 71 |
+
instruction or reference.
|
| 72 |
+
|
| 73 |
+
1. APPLICABILITY AND DEFINITIONS
|
| 74 |
+
|
| 75 |
+
This License applies to any manual or other work, in any medium,
|
| 76 |
+
that contains a notice placed by the copyright holder saying it can
|
| 77 |
+
be distributed under the terms of this License. Such a notice
|
| 78 |
+
grants a world-wide, royalty-free license, unlimited in duration,
|
| 79 |
+
to use that work under the conditions stated herein. The
|
| 80 |
+
“Document”, below, refers to any such manual or work. Any member
|
| 81 |
+
of the public is a licensee, and is addressed as “you”. You accept
|
| 82 |
+
the license if you copy, modify or distribute the work in a way
|
| 83 |
+
requiring permission under copyright law.
|
| 84 |
+
|
| 85 |
+
A “Modified Version” of the Document means any work containing the
|
| 86 |
+
Document or a portion of it, either copied verbatim, or with
|
| 87 |
+
modifications and/or translated into another language.
|
| 88 |
+
|
| 89 |
+
A “Secondary Section” is a named appendix or a front-matter section
|
| 90 |
+
of the Document that deals exclusively with the relationship of the
|
| 91 |
+
publishers or authors of the Document to the Document’s overall
|
| 92 |
+
subject (or to related matters) and contains nothing that could
|
| 93 |
+
fall directly within that overall subject. (Thus, if the Document
|
| 94 |
+
is in part a textbook of mathematics, a Secondary Section may not
|
| 95 |
+
explain any mathematics.) The relationship could be a matter of
|
| 96 |
+
historical connection with the subject or with related matters, or
|
| 97 |
+
of legal, commercial, philosophical, ethical or political position
|
| 98 |
+
regarding them.
|
| 99 |
+
|
| 100 |
+
The “Invariant Sections” are certain Secondary Sections whose
|
| 101 |
+
titles are designated, as being those of Invariant Sections, in the
|
| 102 |
+
notice that says that the Document is released under this License.
|
| 103 |
+
If a section does not fit the above definition of Secondary then it
|
| 104 |
+
is not allowed to be designated as Invariant. The Document may
|
| 105 |
+
contain zero Invariant Sections. If the Document does not identify
|
| 106 |
+
any Invariant Sections then there are none.
|
| 107 |
+
|
| 108 |
+
The “Cover Texts” are certain short passages of text that are
|
| 109 |
+
listed, as Front-Cover Texts or Back-Cover Texts, in the notice
|
| 110 |
+
that says that the Document is released under this License. A
|
| 111 |
+
Front-Cover Text may be at most 5 words, and a Back-Cover Text may
|
| 112 |
+
be at most 25 words.
|
| 113 |
+
|
| 114 |
+
A “Transparent” copy of the Document means a machine-readable copy,
|
| 115 |
+
represented in a format whose specification is available to the
|
| 116 |
+
general public, that is suitable for revising the document
|
| 117 |
+
straightforwardly with generic text editors or (for images composed
|
| 118 |
+
of pixels) generic paint programs or (for drawings) some widely
|
| 119 |
+
available drawing editor, and that is suitable for input to text
|
| 120 |
+
formatters or for automatic translation to a variety of formats
|
| 121 |
+
suitable for input to text formatters. A copy made in an otherwise
|
| 122 |
+
Transparent file format whose markup, or absence of markup, has
|
| 123 |
+
been arranged to thwart or discourage subsequent modification by
|
| 124 |
+
readers is not Transparent. An image format is not Transparent if
|
| 125 |
+
used for any substantial amount of text. A copy that is not
|
| 126 |
+
“Transparent” is called “Opaque”.
|
| 127 |
+
|
| 128 |
+
Examples of suitable formats for Transparent copies include plain
|
| 129 |
+
ASCII without markup, Texinfo input format, LaTeX input format,
|
| 130 |
+
SGML or XML using a publicly available DTD, and standard-conforming
|
| 131 |
+
simple HTML, PostScript or PDF designed for human modification.
|
| 132 |
+
Examples of transparent image formats include PNG, XCF and JPG.
|
| 133 |
+
Opaque formats include proprietary formats that can be read and
|
| 134 |
+
edited only by proprietary word processors, SGML or XML for which
|
| 135 |
+
the DTD and/or processing tools are not generally available, and
|
| 136 |
+
the machine-generated HTML, PostScript or PDF produced by some word
|
| 137 |
+
processors for output purposes only.
|
| 138 |
+
|
| 139 |
+
The “Title Page” means, for a printed book, the title page itself,
|
| 140 |
+
plus such following pages as are needed to hold, legibly, the
|
| 141 |
+
material this License requires to appear in the title page. For
|
| 142 |
+
works in formats which do not have any title page as such, “Title
|
| 143 |
+
Page” means the text near the most prominent appearance of the
|
| 144 |
+
work’s title, preceding the beginning of the body of the text.
|
| 145 |
+
|
| 146 |
+
The “publisher” means any person or entity that distributes copies
|
| 147 |
+
of the Document to the public.
|
| 148 |
+
|
| 149 |
+
A section “Entitled XYZ” means a named subunit of the Document
|
| 150 |
+
whose title either is precisely XYZ or contains XYZ in parentheses
|
| 151 |
+
following text that translates XYZ in another language. (Here XYZ
|
| 152 |
+
stands for a specific section name mentioned below, such as
|
| 153 |
+
“Acknowledgements”, “Dedications”, “Endorsements”, or “History”.)
|
| 154 |
+
To “Preserve the Title” of such a section when you modify the
|
| 155 |
+
Document means that it remains a section “Entitled XYZ” according
|
| 156 |
+
to this definition.
|
| 157 |
+
|
| 158 |
+
The Document may include Warranty Disclaimers next to the notice
|
| 159 |
+
which states that this License applies to the Document. These
|
| 160 |
+
Warranty Disclaimers are considered to be included by reference in
|
| 161 |
+
this License, but only as regards disclaiming warranties: any other
|
| 162 |
+
implication that these Warranty Disclaimers may have is void and
|
| 163 |
+
has no effect on the meaning of this License.
|
| 164 |
+
|
| 165 |
+
2. VERBATIM COPYING
|
| 166 |
+
|
| 167 |
+
You may copy and distribute the Document in any medium, either
|
| 168 |
+
commercially or noncommercially, provided that this License, the
|
| 169 |
+
copyright notices, and the license notice saying this License
|
| 170 |
+
applies to the Document are reproduced in all copies, and that you
|
| 171 |
+
add no other conditions whatsoever to those of this License. You
|
| 172 |
+
may not use technical measures to obstruct or control the reading
|
| 173 |
+
or further copying of the copies you make or distribute. However,
|
| 174 |
+
you may accept compensation in exchange for copies. If you
|
| 175 |
+
distribute a large enough number of copies you must also follow the
|
| 176 |
+
conditions in section 3.
|
| 177 |
+
|
| 178 |
+
You may also lend copies, under the same conditions stated above,
|
| 179 |
+
and you may publicly display copies.
|
| 180 |
+
|
| 181 |
+
3. COPYING IN QUANTITY
|
| 182 |
+
|
| 183 |
+
If you publish printed copies (or copies in media that commonly
|
| 184 |
+
have printed covers) of the Document, numbering more than 100, and
|
| 185 |
+
the Document’s license notice requires Cover Texts, you must
|
| 186 |
+
enclose the copies in covers that carry, clearly and legibly, all
|
| 187 |
+
these Cover Texts: Front-Cover Texts on the front cover, and
|
| 188 |
+
Back-Cover Texts on the back cover. Both covers must also clearly
|
| 189 |
+
and legibly identify you as the publisher of these copies. The
|
| 190 |
+
front cover must present the full title with all words of the title
|
| 191 |
+
equally prominent and visible. You may add other material on the
|
| 192 |
+
covers in addition. Copying with changes limited to the covers, as
|
| 193 |
+
long as they preserve the title of the Document and satisfy these
|
| 194 |
+
conditions, can be treated as verbatim copying in other respects.
|
| 195 |
+
|
| 196 |
+
If the required texts for either cover are too voluminous to fit
|
| 197 |
+
legibly, you should put the first ones listed (as many as fit
|
| 198 |
+
reasonably) on the actual cover, and continue the rest onto
|
| 199 |
+
adjacent pages.
|
| 200 |
+
|
| 201 |
+
If you publish or distribute Opaque copies of the Document
|
| 202 |
+
numbering more than 100, you must either include a machine-readable
|
| 203 |
+
Transparent copy along with each Opaque copy, or state in or with
|
| 204 |
+
each Opaque copy a computer-network location from which the general
|
| 205 |
+
network-using public has access to download using public-standard
|
| 206 |
+
network protocols a complete Transparent copy of the Document, free
|
| 207 |
+
of added material. If you use the latter option, you must take
|
| 208 |
+
reasonably prudent steps, when you begin distribution of Opaque
|
| 209 |
+
copies in quantity, to ensure that this Transparent copy will
|
| 210 |
+
remain thus accessible at the stated location until at least one
|
| 211 |
+
year after the last time you distribute an Opaque copy (directly or
|
| 212 |
+
through your agents or retailers) of that edition to the public.
|
| 213 |
+
|
| 214 |
+
It is requested, but not required, that you contact the authors of
|
| 215 |
+
the Document well before redistributing any large number of copies,
|
| 216 |
+
to give them a chance to provide you with an updated version of the
|
| 217 |
+
Document.
|
| 218 |
+
|
| 219 |
+
4. MODIFICATIONS
|
| 220 |
+
|
| 221 |
+
You may copy and distribute a Modified Version of the Document
|
| 222 |
+
under the conditions of sections 2 and 3 above, provided that you
|
| 223 |
+
release the Modified Version under precisely this License, with the
|
| 224 |
+
Modified Version filling the role of the Document, thus licensing
|
| 225 |
+
distribution and modification of the Modified Version to whoever
|
| 226 |
+
possesses a copy of it. In addition, you must do these things in
|
| 227 |
+
the Modified Version:
|
| 228 |
+
|
| 229 |
+
A. Use in the Title Page (and on the covers, if any) a title
|
| 230 |
+
distinct from that of the Document, and from those of previous
|
| 231 |
+
versions (which should, if there were any, be listed in the
|
| 232 |
+
History section of the Document). You may use the same title
|
| 233 |
+
as a previous version if the original publisher of that
|
| 234 |
+
version gives permission.
|
| 235 |
+
|
| 236 |
+
B. List on the Title Page, as authors, one or more persons or
|
| 237 |
+
entities responsible for authorship of the modifications in
|
| 238 |
+
the Modified Version, together with at least five of the
|
| 239 |
+
principal authors of the Document (all of its principal
|
| 240 |
+
authors, if it has fewer than five), unless they release you
|
| 241 |
+
from this requirement.
|
| 242 |
+
|
| 243 |
+
C. State on the Title page the name of the publisher of the
|
| 244 |
+
Modified Version, as the publisher.
|
| 245 |
+
|
| 246 |
+
D. Preserve all the copyright notices of the Document.
|
| 247 |
+
|
| 248 |
+
E. Add an appropriate copyright notice for your modifications
|
| 249 |
+
adjacent to the other copyright notices.
|
| 250 |
+
|
| 251 |
+
F. Include, immediately after the copyright notices, a license
|
| 252 |
+
notice giving the public permission to use the Modified
|
| 253 |
+
Version under the terms of this License, in the form shown in
|
| 254 |
+
the Addendum below.
|
| 255 |
+
|
| 256 |
+
G. Preserve in that license notice the full lists of Invariant
|
| 257 |
+
Sections and required Cover Texts given in the Document’s
|
| 258 |
+
license notice.
|
| 259 |
+
|
| 260 |
+
H. Include an unaltered copy of this License.
|
| 261 |
+
|
| 262 |
+
I. Preserve the section Entitled “History”, Preserve its Title,
|
| 263 |
+
and add to it an item stating at least the title, year, new
|
| 264 |
+
authors, and publisher of the Modified Version as given on the
|
| 265 |
+
Title Page. If there is no section Entitled “History” in the
|
| 266 |
+
Document, create one stating the title, year, authors, and
|
| 267 |
+
publisher of the Document as given on its Title Page, then add
|
| 268 |
+
an item describing the Modified Version as stated in the
|
| 269 |
+
previous sentence.
|
| 270 |
+
|
| 271 |
+
J. Preserve the network location, if any, given in the Document
|
| 272 |
+
for public access to a Transparent copy of the Document, and
|
| 273 |
+
likewise the network locations given in the Document for
|
| 274 |
+
previous versions it was based on. These may be placed in the
|
| 275 |
+
“History” section. You may omit a network location for a work
|
| 276 |
+
that was published at least four years before the Document
|
| 277 |
+
itself, or if the original publisher of the version it refers
|
| 278 |
+
to gives permission.
|
| 279 |
+
|
| 280 |
+
K. For any section Entitled “Acknowledgements” or “Dedications”,
|
| 281 |
+
Preserve the Title of the section, and preserve in the section
|
| 282 |
+
all the substance and tone of each of the contributor
|
| 283 |
+
acknowledgements and/or dedications given therein.
|
| 284 |
+
|
| 285 |
+
L. Preserve all the Invariant Sections of the Document, unaltered
|
| 286 |
+
in their text and in their titles. Section numbers or the
|
| 287 |
+
equivalent are not considered part of the section titles.
|
| 288 |
+
|
| 289 |
+
M. Delete any section Entitled “Endorsements”. Such a section
|
| 290 |
+
may not be included in the Modified Version.
|
| 291 |
+
|
| 292 |
+
N. Do not retitle any existing section to be Entitled
|
| 293 |
+
“Endorsements” or to conflict in title with any Invariant
|
| 294 |
+
Section.
|
| 295 |
+
|
| 296 |
+
O. Preserve any Warranty Disclaimers.
|
| 297 |
+
|
| 298 |
+
If the Modified Version includes new front-matter sections or
|
| 299 |
+
appendices that qualify as Secondary Sections and contain no
|
| 300 |
+
material copied from the Document, you may at your option designate
|
| 301 |
+
some or all of these sections as invariant. To do this, add their
|
| 302 |
+
titles to the list of Invariant Sections in the Modified Version’s
|
| 303 |
+
license notice. These titles must be distinct from any other
|
| 304 |
+
section titles.
|
| 305 |
+
|
| 306 |
+
You may add a section Entitled “Endorsements”, provided it contains
|
| 307 |
+
nothing but endorsements of your Modified Version by various
|
| 308 |
+
parties—for example, statements of peer review or that the text has
|
| 309 |
+
been approved by an organization as the authoritative definition of
|
| 310 |
+
a standard.
|
| 311 |
+
|
| 312 |
+
You may add a passage of up to five words as a Front-Cover Text,
|
| 313 |
+
and a passage of up to 25 words as a Back-Cover Text, to the end of
|
| 314 |
+
the list of Cover Texts in the Modified Version. Only one passage
|
| 315 |
+
of Front-Cover Text and one of Back-Cover Text may be added by (or
|
| 316 |
+
through arrangements made by) any one entity. If the Document
|
| 317 |
+
already includes a cover text for the same cover, previously added
|
| 318 |
+
by you or by arrangement made by the same entity you are acting on
|
| 319 |
+
behalf of, you may not add another; but you may replace the old
|
| 320 |
+
one, on explicit permission from the previous publisher that added
|
| 321 |
+
the old one.
|
| 322 |
+
|
| 323 |
+
The author(s) and publisher(s) of the Document do not by this
|
| 324 |
+
License give permission to use their names for publicity for or to
|
| 325 |
+
assert or imply endorsement of any Modified Version.
|
| 326 |
+
|
| 327 |
+
5. COMBINING DOCUMENTS
|
| 328 |
+
|
| 329 |
+
You may combine the Document with other documents released under
|
| 330 |
+
this License, under the terms defined in section 4 above for
|
| 331 |
+
modified versions, provided that you include in the combination all
|
| 332 |
+
of the Invariant Sections of all of the original documents,
|
| 333 |
+
unmodified, and list them all as Invariant Sections of your
|
| 334 |
+
combined work in its license notice, and that you preserve all
|
| 335 |
+
their Warranty Disclaimers.
|
| 336 |
+
|
| 337 |
+
The combined work need only contain one copy of this License, and
|
| 338 |
+
multiple identical Invariant Sections may be replaced with a single
|
| 339 |
+
copy. If there are multiple Invariant Sections with the same name
|
| 340 |
+
but different contents, make the title of each such section unique
|
| 341 |
+
by adding at the end of it, in parentheses, the name of the
|
| 342 |
+
original author or publisher of that section if known, or else a
|
| 343 |
+
unique number. Make the same adjustment to the section titles in
|
| 344 |
+
the list of Invariant Sections in the license notice of the
|
| 345 |
+
combined work.
|
| 346 |
+
|
| 347 |
+
In the combination, you must combine any sections Entitled
|
| 348 |
+
“History” in the various original documents, forming one section
|
| 349 |
+
Entitled “History”; likewise combine any sections Entitled
|
| 350 |
+
“Acknowledgements”, and any sections Entitled “Dedications”. You
|
| 351 |
+
must delete all sections Entitled “Endorsements.”
|
| 352 |
+
|
| 353 |
+
6. COLLECTIONS OF DOCUMENTS
|
| 354 |
+
|
| 355 |
+
You may make a collection consisting of the Document and other
|
| 356 |
+
documents released under this License, and replace the individual
|
| 357 |
+
copies of this License in the various documents with a single copy
|
| 358 |
+
that is included in the collection, provided that you follow the
|
| 359 |
+
rules of this License for verbatim copying of each of the documents
|
| 360 |
+
in all other respects.
|
| 361 |
+
|
| 362 |
+
You may extract a single document from such a collection, and
|
| 363 |
+
distribute it individually under this License, provided you insert
|
| 364 |
+
a copy of this License into the extracted document, and follow this
|
| 365 |
+
License in all other respects regarding verbatim copying of that
|
| 366 |
+
document.
|
| 367 |
+
|
| 368 |
+
7. AGGREGATION WITH INDEPENDENT WORKS
|
| 369 |
+
|
| 370 |
+
A compilation of the Document or its derivatives with other
|
| 371 |
+
separate and independent documents or works, in or on a volume of a
|
| 372 |
+
storage or distribution medium, is called an “aggregate” if the
|
| 373 |
+
copyright resulting from the compilation is not used to limit the
|
| 374 |
+
legal rights of the compilation’s users beyond what the individual
|
| 375 |
+
works permit. When the Document is included in an aggregate, this
|
| 376 |
+
License does not apply to the other works in the aggregate which
|
| 377 |
+
are not themselves derivative works of the Document.
|
| 378 |
+
|
| 379 |
+
If the Cover Text requirement of section 3 is applicable to these
|
| 380 |
+
copies of the Document, then if the Document is less than one half
|
| 381 |
+
of the entire aggregate, the Document’s Cover Texts may be placed
|
| 382 |
+
on covers that bracket the Document within the aggregate, or the
|
| 383 |
+
electronic equivalent of covers if the Document is in electronic
|
| 384 |
+
form. Otherwise they must appear on printed covers that bracket
|
| 385 |
+
the whole aggregate.
|
| 386 |
+
|
| 387 |
+
8. TRANSLATION
|
| 388 |
+
|
| 389 |
+
Translation is considered a kind of modification, so you may
|
| 390 |
+
distribute translations of the Document under the terms of section
|
| 391 |
+
4. Replacing Invariant Sections with translations requires special
|
| 392 |
+
permission from their copyright holders, but you may include
|
| 393 |
+
translations of some or all Invariant Sections in addition to the
|
| 394 |
+
original versions of these Invariant Sections. You may include a
|
| 395 |
+
translation of this License, and all the license notices in the
|
| 396 |
+
Document, and any Warranty Disclaimers, provided that you also
|
| 397 |
+
include the original English version of this License and the
|
| 398 |
+
original versions of those notices and disclaimers. In case of a
|
| 399 |
+
disagreement between the translation and the original version of
|
| 400 |
+
this License or a notice or disclaimer, the original version will
|
| 401 |
+
prevail.
|
| 402 |
+
|
| 403 |
+
If a section in the Document is Entitled “Acknowledgements”,
|
| 404 |
+
“Dedications”, or “History”, the requirement (section 4) to
|
| 405 |
+
Preserve its Title (section 1) will typically require changing the
|
| 406 |
+
actual title.
|
| 407 |
+
|
| 408 |
+
9. TERMINATION
|
| 409 |
+
|
| 410 |
+
You may not copy, modify, sublicense, or distribute the Document
|
| 411 |
+
except as expressly provided under this License. Any attempt
|
| 412 |
+
otherwise to copy, modify, sublicense, or distribute it is void,
|
| 413 |
+
and will automatically terminate your rights under this License.
|
| 414 |
+
|
| 415 |
+
However, if you cease all violation of this License, then your
|
| 416 |
+
license from a particular copyright holder is reinstated (a)
|
| 417 |
+
provisionally, unless and until the copyright holder explicitly and
|
| 418 |
+
finally terminates your license, and (b) permanently, if the
|
| 419 |
+
copyright holder fails to notify you of the violation by some
|
| 420 |
+
reasonable means prior to 60 days after the cessation.
|
| 421 |
+
|
| 422 |
+
Moreover, your license from a particular copyright holder is
|
| 423 |
+
reinstated permanently if the copyright holder notifies you of the
|
| 424 |
+
violation by some reasonable means, this is the first time you have
|
| 425 |
+
received notice of violation of this License (for any work) from
|
| 426 |
+
that copyright holder, and you cure the violation prior to 30 days
|
| 427 |
+
after your receipt of the notice.
|
| 428 |
+
|
| 429 |
+
Termination of your rights under this section does not terminate
|
| 430 |
+
the licenses of parties who have received copies or rights from you
|
| 431 |
+
under this License. If your rights have been terminated and not
|
| 432 |
+
permanently reinstated, receipt of a copy of some or all of the
|
| 433 |
+
same material does not give you any rights to use it.
|
| 434 |
+
|
| 435 |
+
10. FUTURE REVISIONS OF THIS LICENSE
|
| 436 |
+
|
| 437 |
+
The Free Software Foundation may publish new, revised versions of
|
| 438 |
+
the GNU Free Documentation License from time to time. Such new
|
| 439 |
+
versions will be similar in spirit to the present version, but may
|
| 440 |
+
differ in detail to address new problems or concerns. See
|
| 441 |
+
<https://www.gnu.org/licenses/>.
|
| 442 |
+
|
| 443 |
+
Each version of the License is given a distinguishing version
|
| 444 |
+
number. If the Document specifies that a particular numbered
|
| 445 |
+
version of this License “or any later version” applies to it, you
|
| 446 |
+
have the option of following the terms and conditions either of
|
| 447 |
+
that specified version or of any later version that has been
|
| 448 |
+
published (not as a draft) by the Free Software Foundation. If the
|
| 449 |
+
Document does not specify a version number of this License, you may
|
| 450 |
+
choose any version ever published (not as a draft) by the Free
|
| 451 |
+
Software Foundation. If the Document specifies that a proxy can
|
| 452 |
+
decide which future versions of this License can be used, that
|
| 453 |
+
proxy’s public statement of acceptance of a version permanently
|
| 454 |
+
authorizes you to choose that version for the Document.
|
| 455 |
+
|
| 456 |
+
11. RELICENSING
|
| 457 |
+
|
| 458 |
+
“Massive Multiauthor Collaboration Site” (or “MMC Site”) means any
|
| 459 |
+
World Wide Web server that publishes copyrightable works and also
|
| 460 |
+
provides prominent facilities for anybody to edit those works. A
|
| 461 |
+
public wiki that anybody can edit is an example of such a server.
|
| 462 |
+
A “Massive Multiauthor Collaboration” (or “MMC”) contained in the
|
| 463 |
+
site means any set of copyrightable works thus published on the MMC
|
| 464 |
+
site.
|
| 465 |
+
|
| 466 |
+
“CC-BY-SA” means the Creative Commons Attribution-Share Alike 3.0
|
| 467 |
+
license published by Creative Commons Corporation, a not-for-profit
|
| 468 |
+
corporation with a principal place of business in San Francisco,
|
| 469 |
+
California, as well as future copyleft versions of that license
|
| 470 |
+
published by that same organization.
|
| 471 |
+
|
| 472 |
+
“Incorporate” means to publish or republish a Document, in whole or
|
| 473 |
+
in part, as part of another Document.
|
| 474 |
+
|
| 475 |
+
An MMC is “eligible for relicensing” if it is licensed under this
|
| 476 |
+
License, and if all works that were first published under this
|
| 477 |
+
License somewhere other than this MMC, and subsequently
|
| 478 |
+
incorporated in whole or in part into the MMC, (1) had no cover
|
| 479 |
+
texts or invariant sections, and (2) were thus incorporated prior
|
| 480 |
+
to November 1, 2008.
|
| 481 |
+
|
| 482 |
+
The operator of an MMC Site may republish an MMC contained in the
|
| 483 |
+
site under CC-BY-SA on the same site at any time before August 1,
|
| 484 |
+
2009, provided the MMC is eligible for relicensing.
|
| 485 |
+
|
| 486 |
+
ADDENDUM: How to use this License for your documents
|
| 487 |
+
====================================================
|
| 488 |
+
|
| 489 |
+
To use this License in a document you have written, include a copy of
|
| 490 |
+
the License in the document and put the following copyright and license
|
| 491 |
+
notices just after the title page:
|
| 492 |
+
|
| 493 |
+
Copyright (C) YEAR YOUR NAME.
|
| 494 |
+
Permission is granted to copy, distribute and/or modify this document
|
| 495 |
+
under the terms of the GNU Free Documentation License, Version 1.3
|
| 496 |
+
or any later version published by the Free Software Foundation;
|
| 497 |
+
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
|
| 498 |
+
Texts. A copy of the license is included in the section entitled ``GNU
|
| 499 |
+
Free Documentation License''.
|
| 500 |
+
|
| 501 |
+
If you have Invariant Sections, Front-Cover Texts and Back-Cover
|
| 502 |
+
Texts, replace the “with...Texts.” line with this:
|
| 503 |
+
|
| 504 |
+
with the Invariant Sections being LIST THEIR TITLES, with
|
| 505 |
+
the Front-Cover Texts being LIST, and with the Back-Cover Texts
|
| 506 |
+
being LIST.
|
| 507 |
+
|
| 508 |
+
If you have Invariant Sections without Cover Texts, or some other
|
| 509 |
+
combination of the three, merge those two alternatives to suit the
|
| 510 |
+
situation.
|
| 511 |
+
|
| 512 |
+
If your document contains nontrivial examples of program code, we
|
| 513 |
+
recommend releasing these examples in parallel under your choice of free
|
| 514 |
+
software license, such as the GNU General Public License, to permit
|
| 515 |
+
their use in free software.
|
| 516 |
+
|
| 517 |
+
|
| 518 |
+
File: m4.info, Node: Indices, Prev: Copying This Manual, Up: Top
|
| 519 |
+
|
| 520 |
+
Appendix C Indices of concepts and macros
|
| 521 |
+
*****************************************
|
| 522 |
+
|
| 523 |
+
* Menu:
|
| 524 |
+
|
| 525 |
+
* Macro index:: Index for all ‘m4’ macros
|
| 526 |
+
* Concept index:: Index for many concepts
|
| 527 |
+
|
| 528 |
+
|
| 529 |
+
File: m4.info, Node: Macro index, Next: Concept index, Up: Indices
|
| 530 |
+
|
| 531 |
+
C.1 Index for all ‘m4’ macros
|
| 532 |
+
=============================
|
| 533 |
+
|
| 534 |
+
This index covers all ‘m4’ builtins, as well as several useful composite
|
| 535 |
+
macros. References are exclusively to the places where a macro is
|
| 536 |
+
introduced the first time.
|
| 537 |
+
|
| 538 |
+
|