[Midnightbsd-cvs] src [7082] trunk/contrib: add byacc to contrib
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Jul 9 17:33:45 EDT 2015
Revision: 7082
http://svnweb.midnightbsd.org/src/?rev=7082
Author: laffer1
Date: 2015-07-09 17:33:44 -0400 (Thu, 09 Jul 2015)
Log Message:
-----------
add byacc to contrib
Modified Paths:
--------------
trunk/contrib/flex/ChangeLog
trunk/contrib/flex/NEWS
trunk/contrib/flex/ONEWS
trunk/contrib/flex/README
trunk/contrib/flex/ccl.c
trunk/contrib/flex/dfa.c
trunk/contrib/flex/ecs.c
trunk/contrib/flex/filter.c
trunk/contrib/flex/flex.skl
trunk/contrib/flex/flexdef.h
trunk/contrib/flex/gen.c
trunk/contrib/flex/libyywrap.c
trunk/contrib/flex/main.c
trunk/contrib/flex/misc.c
trunk/contrib/flex/nfa.c
trunk/contrib/flex/parse.y
trunk/contrib/flex/scan.l
trunk/contrib/flex/sym.c
trunk/contrib/flex/tblcmp.c
Added Paths:
-----------
trunk/contrib/byacc/
Removed Paths:
-------------
trunk/contrib/flex/.indent.pro
trunk/contrib/flex/ABOUT-NLS
trunk/contrib/flex/AUTHORS
trunk/contrib/flex/tests/
trunk/contrib/flex/ylwrap
Deleted: trunk/contrib/flex/.indent.pro
===================================================================
--- trunk/contrib/flex/.indent.pro 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/.indent.pro 2015-07-09 21:33:44 UTC (rev 7082)
@@ -1,15 +0,0 @@
---blank-lines-after-declarations
---blank-lines-after-procedures
--br /* open braces on same line */
--nce /* start else on new line */
--nbc /* vars on same line */
--di8 /* line up var decl at col 8 */
--brs /* struct brace on same line */
--i8 /* indent 4 */
--lp /* line up parens */
--ts8 /* tab stop */
--bbo /* break before && || */
--hnl /* honor newlines */
---space-special-semicolon
---line-length75
---dont-break-procedure-type
Deleted: trunk/contrib/flex/ABOUT-NLS
===================================================================
--- trunk/contrib/flex/ABOUT-NLS 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/ABOUT-NLS 2015-07-09 21:33:44 UTC (rev 7082)
@@ -1,1282 +0,0 @@
-1 Notes on the Free Translation Project
-***************************************
-
-Free software is going international! The Free Translation Project is
-a way to get maintainers of free software, translators, and users all
-together, so that free software will gradually become able to speak many
-languages. A few packages already provide translations for their
-messages.
-
- If you found this `ABOUT-NLS' file inside a distribution, you may
-assume that the distributed package does use GNU `gettext' internally,
-itself available at your nearest GNU archive site. But you do _not_
-need to install GNU `gettext' prior to configuring, installing or using
-this package with messages translated.
-
- Installers will find here some useful hints. These notes also
-explain how users should proceed for getting the programs to use the
-available translations. They tell how people wanting to contribute and
-work on translations can contact the appropriate team.
-
-1.1 INSTALL Matters
-===================
-
-Some packages are "localizable" when properly installed; the programs
-they contain can be made to speak your own native language. Most such
-packages use GNU `gettext'. Other packages have their own ways to
-internationalization, predating GNU `gettext'.
-
- By default, this package will be installed to allow translation of
-messages. It will automatically detect whether the system already
-provides the GNU `gettext' functions. Installers may use special
-options at configuration time for changing the default behaviour. The
-command:
-
- ./configure --disable-nls
-
-will _totally_ disable translation of messages.
-
- When you already have GNU `gettext' installed on your system and run
-configure without an option for your new package, `configure' will
-probably detect the previously built and installed `libintl' library
-and will decide to use it. If not, you may have to to use the
-`--with-libintl-prefix' option to tell `configure' where to look for it.
-
- Internationalized packages usually have many `po/LL.po' files, where
-LL gives an ISO 639 two-letter code identifying the language. Unless
-translations have been forbidden at `configure' time by using the
-`--disable-nls' switch, all available translations are installed
-together with the package. However, the environment variable `LINGUAS'
-may be set, prior to configuration, to limit the installed set.
-`LINGUAS' should then contain a space separated list of two-letter
-codes, stating which languages are allowed.
-
-1.2 Using This Package
-======================
-
-As a user, if your language has been installed for this package, you
-only have to set the `LANG' environment variable to the appropriate
-`LL_CC' combination. If you happen to have the `LC_ALL' or some other
-`LC_xxx' environment variables set, you should unset them before
-setting `LANG', otherwise the setting of `LANG' will not have the
-desired effect. Here `LL' is an ISO 639 two-letter language code, and
-`CC' is an ISO 3166 two-letter country code. For example, let's
-suppose that you speak German and live in Germany. At the shell
-prompt, merely execute `setenv LANG de_DE' (in `csh'),
-`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash').
-This can be done from your `.login' or `.profile' file, once and for
-all.
-
- You might think that the country code specification is redundant.
-But in fact, some languages have dialects in different countries. For
-example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The
-country code serves to distinguish the dialects.
-
- The locale naming convention of `LL_CC', with `LL' denoting the
-language and `CC' denoting the country, is the one use on systems based
-on GNU libc. On other systems, some variations of this scheme are
-used, such as `LL' or `LL_CC.ENCODING'. You can get the list of
-locales supported by your system for your language by running the
-command `locale -a | grep '^LL''.
-
- Not all programs have translations for all languages. By default, an
-English message is shown in place of a nonexistent translation. If you
-understand other languages, you can set up a priority list of languages.
-This is done through a different environment variable, called
-`LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG'
-for the purpose of message handling, but you still need to have `LANG'
-set to the primary language; this is required by other parts of the
-system libraries. For example, some Swedish users who would rather
-read translations in German than English for when Swedish is not
-available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'.
-
- Special advice for Norwegian users: The language code for Norwegian
-bokma*l changed from `no' to `nb' recently (in 2003). During the
-transition period, while some message catalogs for this language are
-installed under `nb' and some older ones under `no', it's recommended
-for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and
-older translations are used.
-
- In the `LANGUAGE' environment variable, but not in the `LANG'
-environment variable, `LL_CC' combinations can be abbreviated as `LL'
-to denote the language's main dialect. For example, `de' is equivalent
-to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT'
-(Portuguese as spoken in Portugal) in this context.
-
-1.3 Translating Teams
-=====================
-
-For the Free Translation Project to be a success, we need interested
-people who like their own language and write it well, and who are also
-able to synergize with other translators speaking the same language.
-Each translation team has its own mailing list. The up-to-date list of
-teams can be found at the Free Translation Project's homepage,
-`http://translationproject.org/', in the "Teams" area.
-
- If you'd like to volunteer to _work_ at translating messages, you
-should become a member of the translating team for your own language.
-The subscribing address is _not_ the same as the list itself, it has
-`-request' appended. For example, speakers of Swedish can send a
-message to `sv-request at li.org', having this message body:
-
- subscribe
-
- Keep in mind that team members are expected to participate
-_actively_ in translations, or at solving translational difficulties,
-rather than merely lurking around. If your team does not exist yet and
-you want to start one, or if you are unsure about what to do or how to
-get started, please write to `coordinator at translationproject.org' to
-reach the coordinator for all translator teams.
-
- The English team is special. It works at improving and uniformizing
-the terminology in use. Proven linguistic skills are praised more than
-programming skills, here.
-
-1.4 Available Packages
-======================
-
-Languages are not equally supported in all packages. The following
-matrix shows the current state of internationalization, as of June
-2010. The matrix shows, in regard of each package, for which languages
-PO files have been submitted to translation coordination, with a
-translation percentage of at least 50%.
-
- Ready PO files af am an ar as ast az be be at latin bg bn_IN bs ca
- +--------------------------------------------------+
- a2ps | [] [] |
- aegis | |
- ant-phone | |
- anubis | |
- aspell | [] [] |
- bash | |
- bfd | |
- bibshelf | [] |
- binutils | |
- bison | |
- bison-runtime | [] |
- bluez-pin | [] [] |
- bombono-dvd | |
- buzztard | |
- cflow | |
- clisp | |
- coreutils | [] [] |
- cpio | |
- cppi | |
- cpplib | [] |
- cryptsetup | |
- dfarc | |
- dialog | [] [] |
- dico | |
- diffutils | [] |
- dink | |
- doodle | |
- e2fsprogs | [] |
- enscript | [] |
- exif | |
- fetchmail | [] |
- findutils | [] |
- flex | [] |
- freedink | |
- gas | |
- gawk | [] [] |
- gcal | [] |
- gcc | |
- gettext-examples | [] [] [] [] |
- gettext-runtime | [] [] |
- gettext-tools | [] [] |
- gip | [] |
- gjay | |
- gliv | [] |
- glunarclock | [] [] |
- gnubiff | |
- gnucash | [] |
- gnuedu | |
- gnulib | |
- gnunet | |
- gnunet-gtk | |
- gnutls | |
- gold | |
- gpe-aerial | |
- gpe-beam | |
- gpe-bluetooth | |
- gpe-calendar | |
- gpe-clock | [] |
- gpe-conf | |
- gpe-contacts | |
- gpe-edit | |
- gpe-filemanager | |
- gpe-go | |
- gpe-login | |
- gpe-ownerinfo | [] |
- gpe-package | |
- gpe-sketchbook | |
- gpe-su | [] |
- gpe-taskmanager | [] |
- gpe-timesheet | [] |
- gpe-today | [] |
- gpe-todo | |
- gphoto2 | |
- gprof | [] |
- gpsdrive | |
- gramadoir | |
- grep | |
- grub | [] [] |
- gsasl | |
- gss | |
- gst-plugins-bad | [] |
- gst-plugins-base | [] |
- gst-plugins-good | [] |
- gst-plugins-ugly | [] |
- gstreamer | [] [] [] |
- gtick | |
- gtkam | [] |
- gtkorphan | [] |
- gtkspell | [] [] [] |
- gutenprint | |
- hello | [] |
- help2man | |
- hylafax | |
- idutils | |
- indent | [] [] |
- iso_15924 | |
- iso_3166 | [] [] [] [] [] [] [] |
- iso_3166_2 | |
- iso_4217 | |
- iso_639 | [] [] [] [] |
- iso_639_3 | |
- jwhois | |
- kbd | |
- keytouch | [] |
- keytouch-editor | |
- keytouch-keyboa... | [] |
- klavaro | [] |
- latrine | |
- ld | [] |
- leafpad | [] [] |
- libc | [] [] |
- libexif | () |
- libextractor | |
- libgnutls | |
- libgpewidget | |
- libgpg-error | |
- libgphoto2 | |
- libgphoto2_port | |
- libgsasl | |
- libiconv | [] |
- libidn | |
- lifelines | |
- liferea | [] [] |
- lilypond | |
- linkdr | [] |
- lordsawar | |
- lprng | |
- lynx | [] |
- m4 | |
- mailfromd | |
- mailutils | |
- make | |
- man-db | |
- man-db-manpages | |
- minicom | |
- mkisofs | |
- myserver | |
- nano | [] [] |
- opcodes | |
- parted | |
- pies | |
- popt | |
- psmisc | |
- pspp | [] |
- pwdutils | |
- radius | [] |
- recode | [] [] |
- rosegarden | |
- rpm | |
- rush | |
- sarg | |
- screem | |
- scrollkeeper | [] [] [] |
- sed | [] [] |
- sharutils | [] [] |
- shishi | |
- skencil | |
- solfege | |
- solfege-manual | |
- soundtracker | |
- sp | |
- sysstat | |
- tar | [] |
- texinfo | |
- tin | |
- unicode-han-tra... | |
- unicode-transla... | |
- util-linux-ng | [] |
- vice | |
- vmm | |
- vorbis-tools | |
- wastesedge | |
- wdiff | |
- wget | [] [] |
- wyslij-po | |
- xchat | [] [] [] [] |
- xdg-user-dirs | [] [] [] [] [] [] [] [] [] |
- xkeyboard-config | [] [] |
- +--------------------------------------------------+
- af am an ar as ast az be be at latin bg bn_IN bs ca
- 6 0 1 2 3 19 1 10 3 28 3 1 38
-
- crh cs da de el en en_GB en_ZA eo es et eu fa
- +-------------------------------------------------+
- a2ps | [] [] [] [] [] [] [] |
- aegis | [] [] [] |
- ant-phone | [] () |
- anubis | [] [] |
- aspell | [] [] [] [] [] |
- bash | [] [] [] |
- bfd | [] |
- bibshelf | [] [] [] |
- binutils | [] |
- bison | [] [] |
- bison-runtime | [] [] [] [] |
- bluez-pin | [] [] [] [] [] [] |
- bombono-dvd | [] |
- buzztard | [] [] [] |
- cflow | [] [] |
- clisp | [] [] [] [] |
- coreutils | [] [] [] [] |
- cpio | |
- cppi | |
- cpplib | [] [] [] |
- cryptsetup | [] |
- dfarc | [] [] [] |
- dialog | [] [] [] [] [] |
- dico | |
- diffutils | [] [] [] [] [] [] |
- dink | [] [] [] |
- doodle | [] |
- e2fsprogs | [] [] [] |
- enscript | [] [] [] |
- exif | () [] [] |
- fetchmail | [] [] () [] [] [] |
- findutils | [] [] [] |
- flex | [] [] |
- freedink | [] [] [] |
- gas | [] |
- gawk | [] [] [] |
- gcal | [] |
- gcc | [] [] |
- gettext-examples | [] [] [] [] |
- gettext-runtime | [] [] [] [] |
- gettext-tools | [] [] [] |
- gip | [] [] [] [] |
- gjay | [] |
- gliv | [] [] [] |
- glunarclock | [] [] |
- gnubiff | () |
- gnucash | [] () () () () |
- gnuedu | [] [] |
- gnulib | [] [] |
- gnunet | |
- gnunet-gtk | [] |
- gnutls | [] [] |
- gold | [] |
- gpe-aerial | [] [] [] [] |
- gpe-beam | [] [] [] [] |
- gpe-bluetooth | [] [] |
- gpe-calendar | [] |
- gpe-clock | [] [] [] [] |
- gpe-conf | [] [] [] |
- gpe-contacts | [] [] [] |
- gpe-edit | [] [] |
- gpe-filemanager | [] [] [] |
- gpe-go | [] [] [] [] |
- gpe-login | [] [] |
- gpe-ownerinfo | [] [] [] [] |
- gpe-package | [] [] [] |
- gpe-sketchbook | [] [] [] [] |
- gpe-su | [] [] [] [] |
- gpe-taskmanager | [] [] [] [] |
- gpe-timesheet | [] [] [] [] |
- gpe-today | [] [] [] [] |
- gpe-todo | [] [] [] |
- gphoto2 | [] [] () [] [] [] |
- gprof | [] [] [] |
- gpsdrive | [] [] [] |
- gramadoir | [] [] [] |
- grep | [] |
- grub | [] [] |
- gsasl | [] |
- gss | |
- gst-plugins-bad | [] [] [] [] [] |
- gst-plugins-base | [] [] [] [] [] |
- gst-plugins-good | [] [] [] [] [] [] |
- gst-plugins-ugly | [] [] [] [] [] [] |
- gstreamer | [] [] [] [] [] |
- gtick | [] () [] |
- gtkam | [] [] () [] [] |
- gtkorphan | [] [] [] [] |
- gtkspell | [] [] [] [] [] [] [] |
- gutenprint | [] [] [] |
- hello | [] [] [] [] |
- help2man | [] |
- hylafax | [] [] |
- idutils | [] [] |
- indent | [] [] [] [] [] [] [] |
- iso_15924 | [] () [] [] |
- iso_3166 | [] [] [] [] () [] [] [] () |
- iso_3166_2 | () |
- iso_4217 | [] [] [] () [] [] |
- iso_639 | [] [] [] [] () [] [] |
- iso_639_3 | [] |
- jwhois | [] |
- kbd | [] [] [] [] [] |
- keytouch | [] [] |
- keytouch-editor | [] [] |
- keytouch-keyboa... | [] |
- klavaro | [] [] [] [] |
- latrine | [] () |
- ld | [] [] |
- leafpad | [] [] [] [] [] [] |
- libc | [] [] [] [] |
- libexif | [] [] () |
- libextractor | |
- libgnutls | [] |
- libgpewidget | [] [] |
- libgpg-error | [] [] |
- libgphoto2 | [] () |
- libgphoto2_port | [] () [] |
- libgsasl | |
- libiconv | [] [] [] [] [] |
- libidn | [] [] [] |
- lifelines | [] () |
- liferea | [] [] [] [] [] |
- lilypond | [] [] [] |
- linkdr | [] [] [] |
- lordsawar | [] |
- lprng | |
- lynx | [] [] [] [] |
- m4 | [] [] [] [] |
- mailfromd | |
- mailutils | [] |
- make | [] [] [] |
- man-db | |
- man-db-manpages | |
- minicom | [] [] [] [] |
- mkisofs | |
- myserver | |
- nano | [] [] [] |
- opcodes | [] [] |
- parted | [] [] |
- pies | |
- popt | [] [] [] [] [] |
- psmisc | [] [] [] |
- pspp | [] |
- pwdutils | [] |
- radius | [] |
- recode | [] [] [] [] [] [] |
- rosegarden | () () () |
- rpm | [] [] [] |
- rush | |
- sarg | |
- screem | |
- scrollkeeper | [] [] [] [] [] |
- sed | [] [] [] [] [] [] |
- sharutils | [] [] [] [] |
- shishi | |
- skencil | [] () [] |
- solfege | [] [] [] |
- solfege-manual | [] [] |
- soundtracker | [] [] [] |
- sp | [] |
- sysstat | [] [] [] |
- tar | [] [] [] [] |
- texinfo | [] [] [] |
- tin | [] [] |
- unicode-han-tra... | |
- unicode-transla... | |
- util-linux-ng | [] [] [] [] |
- vice | () () |
- vmm | [] |
- vorbis-tools | [] [] |
- wastesedge | [] |
- wdiff | [] [] |
- wget | [] [] [] |
- wyslij-po | |
- xchat | [] [] [] [] [] |
- xdg-user-dirs | [] [] [] [] [] [] [] [] [] |
- xkeyboard-config | [] [] [] [] [] [] |
- +-------------------------------------------------+
- crh cs da de el en en_GB en_ZA eo es et eu fa
- 5 64 105 117 18 1 8 0 28 89 18 19 0
-
- fi fr ga gl gu he hi hr hu hy id is it ja ka kn
- +----------------------------------------------------+
- a2ps | [] [] [] [] |
- aegis | [] [] |
- ant-phone | [] [] |
- anubis | [] [] [] [] |
- aspell | [] [] [] [] |
- bash | [] [] [] [] |
- bfd | [] [] [] |
- bibshelf | [] [] [] [] [] |
- binutils | [] [] [] |
- bison | [] [] [] [] |
- bison-runtime | [] [] [] [] [] [] |
- bluez-pin | [] [] [] [] [] [] [] [] |
- bombono-dvd | [] |
- buzztard | [] |
- cflow | [] [] [] |
- clisp | [] |
- coreutils | [] [] [] [] [] |
- cpio | [] [] [] [] |
- cppi | [] [] |
- cpplib | [] [] [] |
- cryptsetup | [] [] [] |
- dfarc | [] [] [] |
- dialog | [] [] [] [] [] [] [] |
- dico | |
- diffutils | [] [] [] [] [] [] [] [] [] |
- dink | [] |
- doodle | [] [] |
- e2fsprogs | [] [] |
- enscript | [] [] [] [] |
- exif | [] [] [] [] [] [] |
- fetchmail | [] [] [] [] |
- findutils | [] [] [] [] [] [] |
- flex | [] [] [] |
- freedink | [] [] [] |
- gas | [] [] |
- gawk | [] [] [] [] () [] |
- gcal | [] |
- gcc | [] |
- gettext-examples | [] [] [] [] [] [] [] |
- gettext-runtime | [] [] [] [] [] [] |
- gettext-tools | [] [] [] [] |
- gip | [] [] [] [] [] [] |
- gjay | [] |
- gliv | [] () |
- glunarclock | [] [] [] [] |
- gnubiff | () [] () |
- gnucash | () () () () () [] |
- gnuedu | [] [] |
- gnulib | [] [] [] [] [] [] |
- gnunet | |
- gnunet-gtk | [] |
- gnutls | [] [] |
- gold | [] [] |
- gpe-aerial | [] [] [] |
- gpe-beam | [] [] [] [] |
- gpe-bluetooth | [] [] [] [] |
- gpe-calendar | [] [] |
- gpe-clock | [] [] [] [] [] |
- gpe-conf | [] [] [] [] |
- gpe-contacts | [] [] [] [] |
- gpe-edit | [] [] [] |
- gpe-filemanager | [] [] [] [] |
- gpe-go | [] [] [] [] [] |
- gpe-login | [] [] [] |
- gpe-ownerinfo | [] [] [] [] [] |
- gpe-package | [] [] [] |
- gpe-sketchbook | [] [] [] [] |
- gpe-su | [] [] [] [] [] [] |
- gpe-taskmanager | [] [] [] [] [] |
- gpe-timesheet | [] [] [] [] [] |
- gpe-today | [] [] [] [] [] [] [] |
- gpe-todo | [] [] [] |
- gphoto2 | [] [] [] [] [] [] |
- gprof | [] [] [] [] |
- gpsdrive | [] [] [] |
- gramadoir | [] [] [] |
- grep | [] [] |
- grub | [] [] [] [] |
- gsasl | [] [] [] [] [] |
- gss | [] [] [] [] [] |
- gst-plugins-bad | [] [] [] [] [] [] |
- gst-plugins-base | [] [] [] [] [] [] |
- gst-plugins-good | [] [] [] [] [] [] |
- gst-plugins-ugly | [] [] [] [] [] [] |
- gstreamer | [] [] [] [] [] |
- gtick | [] [] [] [] [] |
- gtkam | [] [] [] [] [] |
- gtkorphan | [] [] [] |
- gtkspell | [] [] [] [] [] [] [] [] [] |
- gutenprint | [] [] [] [] |
- hello | [] [] [] |
- help2man | [] [] |
- hylafax | [] |
- idutils | [] [] [] [] [] [] |
- indent | [] [] [] [] [] [] [] [] |
- iso_15924 | [] () [] [] |
- iso_3166 | [] () [] [] [] [] [] [] [] [] [] [] |
- iso_3166_2 | () [] [] [] |
- iso_4217 | [] () [] [] [] [] |
- iso_639 | [] () [] [] [] [] [] [] [] |
- iso_639_3 | () [] [] |
- jwhois | [] [] [] [] [] |
- kbd | [] [] |
- keytouch | [] [] [] [] [] [] |
- keytouch-editor | [] [] [] [] [] |
- keytouch-keyboa... | [] [] [] [] [] |
- klavaro | [] [] |
- latrine | [] [] [] |
- ld | [] [] [] [] |
- leafpad | [] [] [] [] [] [] [] () |
- libc | [] [] [] [] [] |
- libexif | [] |
- libextractor | |
- libgnutls | [] [] |
- libgpewidget | [] [] [] [] |
- libgpg-error | [] [] |
- libgphoto2 | [] [] [] |
- libgphoto2_port | [] [] [] |
- libgsasl | [] [] [] [] [] |
- libiconv | [] [] [] [] [] [] |
- libidn | [] [] [] [] |
- lifelines | () |
- liferea | [] [] [] [] |
- lilypond | [] [] |
- linkdr | [] [] [] [] [] |
- lordsawar | |
- lprng | [] |
- lynx | [] [] [] [] [] |
- m4 | [] [] [] [] [] [] |
- mailfromd | |
- mailutils | [] [] |
- make | [] [] [] [] [] [] [] [] [] |
- man-db | [] [] |
- man-db-manpages | [] |
- minicom | [] [] [] [] [] |
- mkisofs | [] [] [] [] |
- myserver | |
- nano | [] [] [] [] [] [] |
- opcodes | [] [] [] [] |
- parted | [] [] [] [] |
- pies | |
- popt | [] [] [] [] [] [] [] [] [] |
- psmisc | [] [] [] |
- pspp | |
- pwdutils | [] [] |
- radius | [] [] |
- recode | [] [] [] [] [] [] [] [] |
- rosegarden | () () () () () |
- rpm | [] [] |
- rush | |
- sarg | [] |
- screem | [] [] |
- scrollkeeper | [] [] [] [] |
- sed | [] [] [] [] [] [] [] [] |
- sharutils | [] [] [] [] [] [] [] |
- shishi | [] |
- skencil | [] |
- solfege | [] [] [] [] |
- solfege-manual | [] [] |
- soundtracker | [] [] |
- sp | [] () |
- sysstat | [] [] [] [] [] |
- tar | [] [] [] [] [] [] [] |
- texinfo | [] [] [] [] |
- tin | [] |
- unicode-han-tra... | |
- unicode-transla... | [] [] |
- util-linux-ng | [] [] [] [] [] [] |
- vice | () () () |
- vmm | [] |
- vorbis-tools | [] |
- wastesedge | () () |
- wdiff | [] |
- wget | [] [] [] [] [] [] [] [] |
- wyslij-po | [] [] [] |
- xchat | [] [] [] [] [] [] [] [] [] |
- xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] |
- xkeyboard-config | [] [] [] [] [] |
- +----------------------------------------------------+
- fi fr ga gl gu he hi hr hu hy id is it ja ka kn
- 105 121 53 20 4 8 3 5 53 2 120 5 84 67 0 4
-
- ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne
- +-----------------------------------------------+
- a2ps | [] |
- aegis | |
- ant-phone | |
- anubis | [] [] |
- aspell | [] |
- bash | |
- bfd | |
- bibshelf | [] [] |
- binutils | |
- bison | [] |
- bison-runtime | [] [] [] [] [] |
- bluez-pin | [] [] [] [] [] |
- bombono-dvd | |
- buzztard | |
- cflow | |
- clisp | |
- coreutils | [] |
- cpio | |
- cppi | |
- cpplib | |
- cryptsetup | |
- dfarc | [] |
- dialog | [] [] [] [] [] |
- dico | |
- diffutils | [] [] |
- dink | |
- doodle | |
- e2fsprogs | |
- enscript | |
- exif | [] |
- fetchmail | |
- findutils | |
- flex | |
- freedink | [] |
- gas | |
- gawk | |
- gcal | |
- gcc | |
- gettext-examples | [] [] [] [] |
- gettext-runtime | [] |
- gettext-tools | [] |
- gip | [] [] |
- gjay | |
- gliv | |
- glunarclock | [] |
- gnubiff | |
- gnucash | () () () () |
- gnuedu | |
- gnulib | |
- gnunet | |
- gnunet-gtk | |
- gnutls | [] |
- gold | |
- gpe-aerial | [] |
- gpe-beam | [] |
- gpe-bluetooth | [] [] |
- gpe-calendar | [] |
- gpe-clock | [] [] [] [] [] |
- gpe-conf | [] [] |
- gpe-contacts | [] [] |
- gpe-edit | [] |
- gpe-filemanager | [] [] |
- gpe-go | [] [] [] |
- gpe-login | [] |
- gpe-ownerinfo | [] [] |
- gpe-package | [] [] |
- gpe-sketchbook | [] [] |
- gpe-su | [] [] [] [] [] [] |
- gpe-taskmanager | [] [] [] [] [] [] |
- gpe-timesheet | [] [] |
- gpe-today | [] [] [] [] |
- gpe-todo | [] [] |
- gphoto2 | |
- gprof | [] |
- gpsdrive | |
- gramadoir | |
- grep | |
- grub | |
- gsasl | |
- gss | |
- gst-plugins-bad | [] [] [] [] |
- gst-plugins-base | [] [] |
- gst-plugins-good | [] [] |
- gst-plugins-ugly | [] [] [] [] [] |
- gstreamer | |
- gtick | |
- gtkam | [] |
- gtkorphan | [] [] |
- gtkspell | [] [] [] [] [] [] [] |
- gutenprint | |
- hello | [] [] [] |
- help2man | |
- hylafax | |
- idutils | |
- indent | |
- iso_15924 | [] [] |
- iso_3166 | [] [] () [] [] [] [] [] |
- iso_3166_2 | |
- iso_4217 | [] [] |
- iso_639 | [] [] |
- iso_639_3 | [] |
- jwhois | [] |
- kbd | |
- keytouch | [] |
- keytouch-editor | [] |
- keytouch-keyboa... | [] |
- klavaro | [] |
- latrine | [] |
- ld | |
- leafpad | [] [] [] |
- libc | [] |
- libexif | |
- libextractor | |
- libgnutls | [] |
- libgpewidget | [] [] |
- libgpg-error | |
- libgphoto2 | |
- libgphoto2_port | |
- libgsasl | |
- libiconv | |
- libidn | |
- lifelines | |
- liferea | |
- lilypond | |
- linkdr | |
- lordsawar | |
- lprng | |
- lynx | |
- m4 | |
- mailfromd | |
- mailutils | |
- make | [] |
- man-db | |
- man-db-manpages | |
- minicom | [] |
- mkisofs | |
- myserver | |
- nano | [] [] |
- opcodes | |
- parted | |
- pies | |
- popt | [] [] [] |
- psmisc | |
- pspp | |
- pwdutils | |
- radius | |
- recode | |
- rosegarden | |
- rpm | |
- rush | |
- sarg | |
- screem | |
- scrollkeeper | [] [] |
- sed | |
- sharutils | |
- shishi | |
- skencil | |
- solfege | [] |
- solfege-manual | |
- soundtracker | |
- sp | |
- sysstat | [] |
- tar | [] |
- texinfo | [] |
- tin | |
- unicode-han-tra... | |
- unicode-transla... | |
- util-linux-ng | |
- vice | |
- vmm | |
- vorbis-tools | |
- wastesedge | |
- wdiff | |
- wget | [] |
- wyslij-po | |
- xchat | [] [] [] |
- xdg-user-dirs | [] [] [] [] [] [] [] [] |
- xkeyboard-config | [] [] [] |
- +-----------------------------------------------+
- ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne
- 20 5 10 1 13 48 4 2 2 4 24 10 20 3 1
-
- nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr
- +---------------------------------------------------+
- a2ps | [] [] [] [] [] [] [] [] |
- aegis | [] [] [] |
- ant-phone | [] [] |
- anubis | [] [] [] |
- aspell | [] [] [] [] [] |
- bash | [] [] |
- bfd | [] |
- bibshelf | [] [] |
- binutils | [] [] |
- bison | [] [] [] |
- bison-runtime | [] [] [] [] [] [] [] |
- bluez-pin | [] [] [] [] [] [] [] [] |
- bombono-dvd | [] () |
- buzztard | [] [] |
- cflow | [] |
- clisp | [] [] |
- coreutils | [] [] [] [] [] [] |
- cpio | [] [] [] |
- cppi | [] |
- cpplib | [] |
- cryptsetup | [] |
- dfarc | [] |
- dialog | [] [] [] [] |
- dico | [] |
- diffutils | [] [] [] [] [] [] |
- dink | () |
- doodle | [] [] |
- e2fsprogs | [] [] |
- enscript | [] [] [] [] [] |
- exif | [] [] [] () [] |
- fetchmail | [] [] [] [] |
- findutils | [] [] [] [] [] |
- flex | [] [] [] [] [] |
- freedink | [] [] |
- gas | |
- gawk | [] [] [] [] |
- gcal | |
- gcc | [] |
- gettext-examples | [] [] [] [] [] [] [] [] |
- gettext-runtime | [] [] [] [] [] [] [] [] [] |
- gettext-tools | [] [] [] [] [] [] |
- gip | [] [] [] [] [] |
- gjay | |
- gliv | [] [] [] [] [] [] |
- glunarclock | [] [] [] [] [] |
- gnubiff | [] () |
- gnucash | [] () () () |
- gnuedu | [] |
- gnulib | [] [] [] [] |
- gnunet | |
- gnunet-gtk | |
- gnutls | [] [] |
- gold | |
- gpe-aerial | [] [] [] [] [] [] [] |
- gpe-beam | [] [] [] [] [] [] [] |
- gpe-bluetooth | [] [] |
- gpe-calendar | [] [] [] [] |
- gpe-clock | [] [] [] [] [] [] [] [] |
- gpe-conf | [] [] [] [] [] [] [] |
- gpe-contacts | [] [] [] [] [] |
- gpe-edit | [] [] [] |
- gpe-filemanager | [] [] [] |
- gpe-go | [] [] [] [] [] [] [] [] |
- gpe-login | [] [] |
- gpe-ownerinfo | [] [] [] [] [] [] [] [] |
- gpe-package | [] [] |
- gpe-sketchbook | [] [] [] [] [] [] [] |
- gpe-su | [] [] [] [] [] [] [] [] |
- gpe-taskmanager | [] [] [] [] [] [] [] [] |
- gpe-timesheet | [] [] [] [] [] [] [] [] |
- gpe-today | [] [] [] [] [] [] [] [] |
- gpe-todo | [] [] [] [] [] |
- gphoto2 | [] [] [] [] [] [] [] [] |
- gprof | [] [] [] |
- gpsdrive | [] [] |
- gramadoir | [] [] |
- grep | [] [] [] [] |
- grub | [] [] [] |
- gsasl | [] [] [] [] |
- gss | [] [] [] |
- gst-plugins-bad | [] [] [] [] [] [] |
- gst-plugins-base | [] [] [] [] [] |
- gst-plugins-good | [] [] [] [] [] |
- gst-plugins-ugly | [] [] [] [] [] [] |
- gstreamer | [] [] [] [] [] |
- gtick | [] [] [] |
- gtkam | [] [] [] [] [] [] |
- gtkorphan | [] |
- gtkspell | [] [] [] [] [] [] [] [] [] [] |
- gutenprint | [] [] |
- hello | [] [] [] [] |
- help2man | [] [] |
- hylafax | [] |
- idutils | [] [] [] [] [] |
- indent | [] [] [] [] [] [] [] |
- iso_15924 | [] [] [] [] |
- iso_3166 | [] [] [] [] [] () [] [] [] [] [] [] [] [] |
- iso_3166_2 | [] [] [] |
- iso_4217 | [] [] [] [] [] [] [] [] |
- iso_639 | [] [] [] [] [] [] [] [] [] |
- iso_639_3 | [] [] |
- jwhois | [] [] [] [] |
- kbd | [] [] [] |
- keytouch | [] [] [] |
- keytouch-editor | [] [] [] |
- keytouch-keyboa... | [] [] [] |
- klavaro | [] [] |
- latrine | [] [] |
- ld | |
- leafpad | [] [] [] [] [] [] [] [] [] |
- libc | [] [] [] [] |
- libexif | [] [] () [] |
- libextractor | |
- libgnutls | [] [] |
- libgpewidget | [] [] [] |
- libgpg-error | [] [] |
- libgphoto2 | [] [] |
- libgphoto2_port | [] [] [] [] [] |
- libgsasl | [] [] [] [] [] |
- libiconv | [] [] [] [] [] |
- libidn | [] [] |
- lifelines | [] [] |
- liferea | [] [] [] [] [] () () [] |
- lilypond | [] |
- linkdr | [] [] [] |
- lordsawar | |
- lprng | [] |
- lynx | [] [] [] |
- m4 | [] [] [] [] [] |
- mailfromd | [] |
- mailutils | [] |
- make | [] [] [] [] |
- man-db | [] [] [] |
- man-db-manpages | [] [] [] |
- minicom | [] [] [] [] |
- mkisofs | [] [] [] |
- myserver | |
- nano | [] [] [] [] |
- opcodes | [] [] |
- parted | [] [] [] [] |
- pies | [] |
- popt | [] [] [] [] |
- psmisc | [] [] [] |
- pspp | [] [] |
- pwdutils | [] |
- radius | [] [] [] |
- recode | [] [] [] [] [] [] [] [] |
- rosegarden | () () |
- rpm | [] [] [] |
- rush | [] [] |
- sarg | |
- screem | |
- scrollkeeper | [] [] [] [] [] [] [] [] |
- sed | [] [] [] [] [] [] [] [] [] |
- sharutils | [] [] [] [] |
- shishi | [] |
- skencil | [] [] |
- solfege | [] [] [] [] |
- solfege-manual | [] [] [] |
- soundtracker | [] |
- sp | |
- sysstat | [] [] [] [] |
- tar | [] [] [] [] |
- texinfo | [] [] [] [] |
- tin | [] |
- unicode-han-tra... | |
- unicode-transla... | |
- util-linux-ng | [] [] [] [] [] |
- vice | [] |
- vmm | [] |
- vorbis-tools | [] [] |
- wastesedge | [] |
- wdiff | [] [] |
- wget | [] [] [] [] [] [] [] |
- wyslij-po | [] [] [] |
- xchat | [] [] [] [] [] [] [] [] [] |
- xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] [] |
- xkeyboard-config | [] [] [] |
- +---------------------------------------------------+
- nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr
- 135 10 4 7 105 1 29 62 47 91 3 54 46 9 37
-
- sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW
- +---------------------------------------------------+
- a2ps | [] [] [] [] [] | 27
- aegis | [] | 9
- ant-phone | [] [] [] [] | 9
- anubis | [] [] [] [] | 15
- aspell | [] [] [] | 20
- bash | [] [] [] | 12
- bfd | [] | 6
- bibshelf | [] [] [] | 16
- binutils | [] [] | 8
- bison | [] [] | 12
- bison-runtime | [] [] [] [] [] [] | 29
- bluez-pin | [] [] [] [] [] [] [] [] | 37
- bombono-dvd | [] | 4
- buzztard | [] | 7
- cflow | [] [] [] | 9
- clisp | | 10
- coreutils | [] [] [] [] | 22
- cpio | [] [] [] [] [] [] | 13
- cppi | [] [] | 5
- cpplib | [] [] [] [] [] [] | 14
- cryptsetup | [] [] | 7
- dfarc | [] | 9
- dialog | [] [] [] [] [] [] [] | 30
- dico | [] | 2
- diffutils | [] [] [] [] [] [] | 30
- dink | | 4
- doodle | [] [] | 7
- e2fsprogs | [] [] [] | 11
- enscript | [] [] [] [] | 17
- exif | [] [] [] | 16
- fetchmail | [] [] [] | 17
- findutils | [] [] [] [] [] | 20
- flex | [] [] [] [] | 15
- freedink | [] | 10
- gas | [] | 4
- gawk | [] [] [] [] | 18
- gcal | [] [] | 5
- gcc | [] [] [] | 7
- gettext-examples | [] [] [] [] [] [] [] | 34
- gettext-runtime | [] [] [] [] [] [] [] | 29
- gettext-tools | [] [] [] [] [] [] | 22
- gip | [] [] [] [] | 22
- gjay | [] | 3
- gliv | [] [] [] | 14
- glunarclock | [] [] [] [] [] | 19
- gnubiff | [] [] | 4
- gnucash | () [] () [] () | 10
- gnuedu | [] [] | 7
- gnulib | [] [] [] [] | 16
- gnunet | [] | 1
- gnunet-gtk | [] [] [] | 5
- gnutls | [] [] [] | 10
- gold | [] | 4
- gpe-aerial | [] [] [] | 18
- gpe-beam | [] [] [] | 19
- gpe-bluetooth | [] [] [] | 13
- gpe-calendar | [] [] [] [] | 12
- gpe-clock | [] [] [] [] [] | 28
- gpe-conf | [] [] [] [] | 20
- gpe-contacts | [] [] [] | 17
- gpe-edit | [] [] [] | 12
- gpe-filemanager | [] [] [] [] | 16
- gpe-go | [] [] [] [] [] | 25
- gpe-login | [] [] [] | 11
- gpe-ownerinfo | [] [] [] [] [] | 25
- gpe-package | [] [] [] | 13
- gpe-sketchbook | [] [] [] | 20
- gpe-su | [] [] [] [] [] | 30
- gpe-taskmanager | [] [] [] [] [] | 29
- gpe-timesheet | [] [] [] [] [] | 25
- gpe-today | [] [] [] [] [] [] | 30
- gpe-todo | [] [] [] [] | 17
- gphoto2 | [] [] [] [] [] | 24
- gprof | [] [] [] | 15
- gpsdrive | [] [] [] | 11
- gramadoir | [] [] [] | 11
- grep | [] [] [] | 10
- grub | [] [] [] | 14
- gsasl | [] [] [] [] | 14
- gss | [] [] [] | 11
- gst-plugins-bad | [] [] [] [] | 26
- gst-plugins-base | [] [] [] [] [] | 24
- gst-plugins-good | [] [] [] [] | 24
- gst-plugins-ugly | [] [] [] [] [] | 29
- gstreamer | [] [] [] [] | 22
- gtick | [] [] [] | 13
- gtkam | [] [] [] | 20
- gtkorphan | [] [] [] | 14
- gtkspell | [] [] [] [] [] [] [] [] [] | 45
- gutenprint | [] | 10
- hello | [] [] [] [] [] [] | 21
- help2man | [] [] | 7
- hylafax | [] | 5
- idutils | [] [] [] [] | 17
- indent | [] [] [] [] [] [] | 30
- iso_15924 | () [] () [] [] | 16
- iso_3166 | [] [] () [] [] () [] [] [] () | 53
- iso_3166_2 | () [] () [] | 9
- iso_4217 | [] () [] [] () [] [] | 26
- iso_639 | [] [] [] () [] () [] [] [] [] | 38
- iso_639_3 | [] () | 8
- jwhois | [] [] [] [] [] | 16
- kbd | [] [] [] [] [] | 15
- keytouch | [] [] [] | 16
- keytouch-editor | [] [] [] | 14
- keytouch-keyboa... | [] [] [] | 14
- klavaro | [] | 11
- latrine | [] [] [] | 10
- ld | [] [] [] [] | 11
- leafpad | [] [] [] [] [] [] | 33
- libc | [] [] [] [] [] | 21
- libexif | [] () | 7
- libextractor | [] | 1
- libgnutls | [] [] [] | 9
- libgpewidget | [] [] [] | 14
- libgpg-error | [] [] [] | 9
- libgphoto2 | [] [] | 8
- libgphoto2_port | [] [] [] [] | 14
- libgsasl | [] [] [] | 13
- libiconv | [] [] [] [] | 21
- libidn | () [] [] | 11
- lifelines | [] | 4
- liferea | [] [] [] | 21
- lilypond | [] | 7
- linkdr | [] [] [] [] [] | 17
- lordsawar | | 1
- lprng | [] | 3
- lynx | [] [] [] [] | 17
- m4 | [] [] [] [] | 19
- mailfromd | [] [] | 3
- mailutils | [] | 5
- make | [] [] [] [] | 21
- man-db | [] [] [] | 8
- man-db-manpages | | 4
- minicom | [] [] | 16
- mkisofs | [] [] | 9
- myserver | | 0
- nano | [] [] [] [] | 21
- opcodes | [] [] [] | 11
- parted | [] [] [] [] [] | 15
- pies | [] [] | 3
- popt | [] [] [] [] [] [] | 27
- psmisc | [] [] | 11
- pspp | | 4
- pwdutils | [] [] | 6
- radius | [] [] | 9
- recode | [] [] [] [] | 28
- rosegarden | () | 0
- rpm | [] [] [] | 11
- rush | [] [] | 4
- sarg | | 1
- screem | [] | 3
- scrollkeeper | [] [] [] [] [] | 27
- sed | [] [] [] [] [] | 30
- sharutils | [] [] [] [] [] | 22
- shishi | [] | 3
- skencil | [] [] | 7
- solfege | [] [] [] [] | 16
- solfege-manual | [] | 8
- soundtracker | [] [] [] | 9
- sp | [] | 3
- sysstat | [] [] | 15
- tar | [] [] [] [] [] [] | 23
- texinfo | [] [] [] [] [] | 17
- tin | | 4
- unicode-han-tra... | | 0
- unicode-transla... | | 2
- util-linux-ng | [] [] [] [] | 20
- vice | () () | 1
- vmm | [] | 4
- vorbis-tools | [] | 6
- wastesedge | | 2
- wdiff | [] [] | 7
- wget | [] [] [] [] [] | 26
- wyslij-po | [] [] | 8
- xchat | [] [] [] [] [] [] | 36
- xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] | 63
- xkeyboard-config | [] [] [] | 22
- +---------------------------------------------------+
- 85 teams sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW
- 178 domains 119 1 3 3 0 10 65 51 155 17 98 7 41 2618
-
- Some counters in the preceding matrix are higher than the number of
-visible blocks let us expect. This is because a few extra PO files are
-used for implementing regional variants of languages, or language
-dialects.
-
- For a PO file in the matrix above to be effective, the package to
-which it applies should also have been internationalized and
-distributed as such by its maintainer. There might be an observable
-lag between the mere existence a PO file and its wide availability in a
-distribution.
-
- If June 2010 seems to be old, you may fetch a more recent copy of
-this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date
-matrix with full percentage details can be found at
-`http://translationproject.org/extra/matrix.html'.
-
-1.5 Using `gettext' in new packages
-===================================
-
-If you are writing a freely available program and want to
-internationalize it you are welcome to use GNU `gettext' in your
-package. Of course you have to respect the GNU Library General Public
-License which covers the use of the GNU `gettext' library. This means
-in particular that even non-free programs can use `libintl' as a shared
-library, whereas only free software can use `libintl' as a static
-library or use modified versions of `libintl'.
-
- Once the sources are changed appropriately and the setup can handle
-the use of `gettext' the only thing missing are the translations. The
-Free Translation Project is also available for packages which are not
-developed inside the GNU project. Therefore the information given above
-applies also for every other Free Software Project. Contact
-`coordinator at translationproject.org' to make the `.pot' files available
-to the translation teams.
-
Deleted: trunk/contrib/flex/AUTHORS
===================================================================
--- trunk/contrib/flex/AUTHORS 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/AUTHORS 2015-07-09 21:33:44 UTC (rev 7082)
@@ -1,16 +0,0 @@
-
-In 2001, Will Estes took over as maintainer of flex.
-
-John Millaway is a co-author of the current version of flex. He has
-contributed a large number of new features, fixed a large number of
-outstanding bugs and has made significant contributions to the flex
-documentation.
-
-Aaron Stone has contributed several bug fixes to the flex codebase.
-
-Vern Paxson wrote flex with the help of many ideas and much
-inspiration from Van Jacobson. Original version by Jef Poskanzer.
-
-The fast table representation is a partial implementation of a design
-done by Van Jacobson. The implementation was done by Kevin Gong and
-Vern Paxson.
Modified: trunk/contrib/flex/ChangeLog
===================================================================
--- trunk/contrib/flex/ChangeLog 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/ChangeLog 2015-07-09 21:33:44 UTC (rev 7082)
@@ -1,342 +1,3 @@
-2014-02-16 Translation Project <coordinator at translationproject.org>
-
- * po/ru.po: update ru translation from the translation project
-
-2014-02-14 Will Estes <westes575 at gmail.com>
-
- * NEWS: mention updated da translation in release news
-
-2014-02-14 Translation Project <coordinator at translationproject.org>
-
- * po/da.po: update da translation from the translation project
-
-2014-02-14 Will Estes <westes575 at gmail.com>
-
- * NEWS: mention updated es translation in release news
-
-2014-02-14 Translation Project <coordinator at translationproject.org>
-
- * po/es.po: update es translation from the translation project
-
-2014-02-14 Will Estes <westes575 at gmail.com>
-
- * NEWS: mention updated ko translation in release news
-
-2014-02-14 Translation Project <coordinator at translationproject.org>
-
- * po/ko.po: update ko translation from the translation project
-
-2014-02-14 Will Estes <westes575 at gmail.com>
-
- * NEWS: mention updated ro translation in release news
-
-2014-02-14 Translation Project <coordinator at translationproject.org>
-
- * po/ro.po: update ro translation from the translation project
-
-2014-02-14 Will Estes <westes575 at gmail.com>
-
- * NEWS: mention updated ru translation in release news
-
-2014-02-14 Translation Project <coordinator at translationproject.org>
-
- * po/ru.po: update ru translation from the translation project
-
-2014-02-14 Will Estes <westes575 at gmail.com>
-
- * NEWS: mention updated sv translation in news
-
-2014-02-14 Translation Project <coordinator at translationproject.org>
-
- * po/sv.po: update sv translation from the translation project
-
-2014-02-14 Will Estes <westes575 at gmail.com>
-
- * NEWS: mention updated tr translation in news
-
-2014-02-14 Translation Project <coordinator at translationproject.org>
-
- * po/tr.po: update tr translation from the translation project
-
-2014-02-14 Will Estes <westes575 at gmail.com>
-
- * NEWS: mention updated zh_CN in release news
-
-2014-02-14 Translation Project <coordinator at translationproject.org>
-
- * po/zh_CN.po: update zh_CN translation from the translation project
-
-2014-02-14 Will Estes <westes575 at gmail.com>
-
- * NEWS, po/LINGUAS, po/zh_TW.po, po/zh_tw.po: rename zh_tw
- translation to its proper zh_TW name
-
-2014-02-14 Will Estes <westes575 at gmail.com>
-
- * NEWS: mention updated nl, vi translations in release news
-
-2014-02-14 Translation Project <coordinator at translationproject.org>
-
- * po/vi.po: update vi translation from the translation project
-
-2014-02-14 Translation Project <coordinator at translationproject.org>
-
- * po/nl.po: update nl translation from the translation project
-
-2014-02-14 Will Estes <westes575 at gmail.com>
-
- * TODO: remove some unneeded entries from the todo list
-
-2014-02-13 Will Estes <westes575 at gmail.com>
-
- * doc/Makefile.am: list more generated files in CLEANFILES
-
-2014-02-13 Will Estes <westes575 at gmail.com>
-
- * doc/flex.xml: remove unmaintained xml documentation
-
-2014-02-13 Will Estes <westes575 at gmail.com>
-
- * configure.ac: bump AM_GNU_GETTEXT_VERSION to 0.18.1
-
-2014-02-13 Will Estes <westes575 at gmail.com>
-
- * README: list new location of flex git repo
-
-2014-02-13 Will Estes <westes575 at gmail.com>
-
- * po/.gitignore: git ignore generated files from english quoting
- variant translations
-
-2014-02-13 Will Estes <westes575 at gmail.com>
-
- * po/LINGUAS: name english quoting variants correctly
-
-2014-02-13 Will Estes <westes575 at gmail.com>
-
- * Makefile.am, configure.ac, tools/Makefile.am: removed tools/
- subdirectory from distribution Since it is not possible to rebuild the ChangeLog file without being
- in a git working directory of flex, distributing the tools directory
- is misleading. In particular, git2cl will always fail.
-
-2014-02-13 Will Estes <westes575 at gmail.com>
-
- * po/LINGUAS: removed unneeded blank line from translation list
-
-2014-02-13 Will Estes <westes575 at gmail.com>
-
- * po/LINGUAS: added en quoting variants to translation list
-
-2014-02-11 Will Estes <westes575 at gmail.com>
-
- * configure.ac: use gnu automake option instead of gnits option
-
-2014-02-11 Will Estes <westes575 at gmail.com>
-
- * README-alpha: remove README_alpha file since it is no longer
- needed
-
-2014-02-10 Will Estes <westes575 at gmail.com>
-
- * configure.ac: increment version to 2.5.38
-
-2013-11-27 Will Estes <westes575 at gmail.com>
-
- * NEWS: flesh out internationalization section of NEWS file; mention
- pt_BR translation
-
-2013-11-27 Translation Project <coordinator at translationproject.org>
-
- * po/pt_BR.po: update pt_BR translation from the translation project
-
-2013-10-31 Will Estes <westes575 at gmail.com>
-
- * NEWS: begin listing 2.5.38 version in NEWS; list new sr
- translation
-
-2013-10-31 Will Estes <westes575 at gmail.com>
-
- * po/LINGUAS: list new sr translation in list of translations
-
-2013-10-31 Will Estes <westes575 at gmail.com>
-
- * po/sr.po: add sr translation from the translation project
-
-2013-07-02 Till Varoquaux <till.varoquaux at gmail.com>
-
- * configure.ac, flex.skl, nfa.c, tests/Makefile.am,
- tests/test-lineno-trailing/.gitignore,
- tests/test-lineno-trailing/Makefile.am,
- tests/test-lineno-trailing/scanner.l,
- tests/test-lineno-trailing/test.input: Adjust yylineno properly when
- rewinding trailing contexts.
-
-2013-05-28 Will Estes <westes575 at gmail.com>
-
- * Makefile.am: Remove incorrect / in install-exec-hook target
-
-2013-02-16 Translation Project <coordinators at translationproject.org>
-
- * po/LINGUAS, po/zh_tw.po: add zh_tw translation from the
- translation project
-
-2012-12-06 Christoph Junghans <ottxor at gentoo.org>
-
- * Makefile.am, configure.ac: add version information to shared
- library Signed-off-by: Will Estes <westes575 at gmail.com>
-
-2012-12-04 Christoph Junghans <ottxor at gentoo.org>
-
- * .gitignore, Makefile.am, configure.ac, lib/Makefile.am: Build
- libfl and libcompat using libtool; resolves #3586814 Signed-off-by: Will Estes <westes575 at gmail.com>
-
-2012-12-04 Translation Project <coordinator at translationproject.org>
-
- * po/ca.po: update ca translation
-
-2012-10-31 Hugh Sasse <hgs at dmu.ac.uk>
-
- * tests/test-extended/Makefile.am, tests/test-quotes/Makefile.am:
- use cmp instead of diff in some tests for portability reasons Signed-off-by: Will Estes <westes575 at gmail.com>
-
-2012-10-31 Dennis Clarke <dclarke at blastwave.org>
-
- * tests/TEMPLATE/Makefile.am, tests/test-alloc-extra/Makefile.am,
- tests/test-array-nr/Makefile.am, tests/test-array-r/Makefile.am,
- tests/test-basic-nr/Makefile.am, tests/test-basic-r/Makefile.am,
- tests/test-bison-nr/Makefile.am,
- tests/test-bison-yylloc/Makefile.am,
- tests/test-bison-yylval/Makefile.am,
- tests/test-c++-basic/Makefile.am,
- tests/test-c++-multiple-scanners/Makefile.am,
- tests/test-c++-yywrap/Makefile.am, tests/test-c-cpp-nr/Makefile.am,
- tests/test-c-cpp-r/Makefile.am, tests/test-ccl/Makefile.am,
- tests/test-debug-nr/Makefile.am, tests/test-debug-r/Makefile.am,
- tests/test-extended/Makefile.am, tests/test-header-nr/Makefile.am,
- tests/test-header-r/Makefile.am,
- tests/test-include-by-buffer/Makefile.am,
- tests/test-include-by-push/Makefile.am,
- tests/test-include-by-reentrant/Makefile.am,
- tests/test-linedir-r/Makefile.am, tests/test-lineno-nr/Makefile.am,
- tests/test-lineno-r/Makefile.am, tests/test-mem-nr/Makefile.am,
- tests/test-mem-r/Makefile.am,
- tests/test-multiple-scanners-nr/Makefile.am,
- tests/test-multiple-scanners-r/Makefile.am,
- tests/test-noansi-nr/Makefile.am, tests/test-noansi-r/Makefile.am,
- tests/test-posix/Makefile.am,
- tests/test-posixly-correct/Makefile.am,
- tests/test-prefix-nr/Makefile.am, tests/test-prefix-r/Makefile.am,
- tests/test-pthread/Makefile.am, tests/test-quotes/Makefile.am,
- tests/test-reject/Makefile.am, tests/test-rescan-nr/Makefile.am,
- tests/test-rescan-r/Makefile.am, tests/test-string-nr/Makefile.am,
- tests/test-string-r/Makefile.am, tests/test-table-opts/Makefile.am,
- tests/test-top/Makefile.am, tests/test-yyextra/Makefile.am: add
- CFLAGS and CXXFLAGS options as appropriate to testsuite Makefile.am
- files Signed-off-by: Will Estes <westes575 at gmail.com>
-
-2012-10-25 Will Estes <westes575 at gmail.com>
-
- * po/LINGUAS: add hr to list of translations
-
-2012-10-25 Translation Project <coordinator at translationproject.org>
-
- * po/hr.po: add hr translation from the translation project
-
-2012-10-25 Translation Project <coordinator at translationproject.org>
-
- * po/fr.po: new fr translation project from the translation project
-
-2012-09-08 Will Estes <westes575 at gmail.com>
-
- * po/LINGUAS: update languages list to include esperanto translation
-
-2012-09-08 Translation Project <coordinator at translationproject.org>
-
- * po/eo.po: add eo translation from the translation project
-
-2012-08-26 Will Estes <westes575 at gmail.com>
-
- * configure.ac: add dist-xz to automake options; resolves #3561837
-
-2012-08-26 Will Estes <westes575 at gmail.com>
-
- * autogen.sh, configure.ac: require gettext 0.18; force autoreconf
- in autogen.sh; resolves #3561759 Autoconf had trouble finding the shared libraries for gettext. Using
- gettext 0.18 fixes that. When updating the gettext version number, autoreconf could fail to
- update files, since autopoint would assume the gettext-related files
- had been locally modified. Passing --force prevents that from
- happening.
-
-2012-08-15 Will Estes <westes575 at gmail.com>
-
- * Makefile.am: remove README.cvs from dist_doc_DATA in Makefile.am
-
-2012-08-13 Will Estes <westes575 at gmail.com>
-
- * : commit 9256a268e2a1000cb410766e95487912a7d66d61 Author: Will
- Estes <westes575 at gmail.com> Date: Mon Aug 13 16:23:35 2012 -0400
-
-2012-08-08 Will Estes <westes575 at gmail.com>
-
- * README, README.cvs: append README.cvs contents to README
-
-2012-08-08 Will Estes <westes575 at gmail.com>
-
- * gen.c: fix m4 error when useecs and nultrans are true; resolves
- #1816878
-
-2012-08-08 Robert Minsk <rminsk at users.sourceforge.net>
-
- * flex.skl: put user code after yyguts init; resolves #1744516 Signed-off-by: Will Estes <westes575 at gmail.com>
-
-2012-08-08 Robert Minsk <rminsk at users.sourceforge.net>
-
- * flex.skl, main.c: do not output yy_nxt to header with %option
- full; resolves #1739922 Signed-off-by: Will Estes <westes575 at gmail.com>
-
-2012-08-07 Will Estes <westes575 at gmail.com>
-
- * main.c: let flex decide if yymore and reject are needed in lex
- compatible mode This resolves bug #3510440.
-
-2012-08-06 Translation Project <coordinator at translationproject.org>
-
- * po/vi.po: new vi translation from the translation project
-
-2012-08-06 Will Estes <westes575 at gmail.com>
-
- * .gitignore: add more patterns to .gitignore Undersome circumstances, the build process will generate conf.in~,
- which we want to ignore. Also, some patch files will apply but not
- cleanly and *.orig and *.rej files are generated. We want to ignore
- them as well.
-
-2012-08-06 Will Estes <westes575 at gmail.com>
-
- * configure.ac, configure.in: rename configure.in to configure.ac to
- prep for upcoming automake changes
-
-2012-08-06 Elias Pipping <pipping at users.sourceforge.net>
-
- * tests/test-bison-yylloc/main.c, tests/test-bison-yylloc/parser.y,
- tests/test-bison-yylval/main.c, tests/test-bison-yylval/parser.y:
- Fix two tests to pass under bison 2.6 Given that bison is moving forward with the %parse-param instead of
- YYPARSE_PARAM syntax, it makes sense to switch over to using the new
- style declaration. In particular, this means that flex scanners that
- use bison features will now require bison 2.6 or higher. Signed-off-by: Will Estes <westes575 at gmail.com>
-
-2012-08-04 Will Estes <westes575 at gmail.com>
-
- * po/nl.po: new nl translation from the translation project
-
-2012-08-04 Mike Frysinger <vapier at gentoo.org>
-
- * flexdef.h: add prototype for lerrsf_fatal to flexdef.h Signed-off-by: Will Estes <westes575 at gmail.com>
-
-2012-08-04 nomis52 <nomis52 at users.sourceforge.net>
-
- * flex.skl, gen.c: Change variable types to silence compiler
- warnings; resolves #3552806 Signed-off-by: Will Estes <westes575 at gmail.com>
-
2012-08-03 Will Estes <westes575 at gmail.com>
* NEWS: update NEWS to reflect changes in 2.5.37
Modified: trunk/contrib/flex/NEWS
===================================================================
--- trunk/contrib/flex/NEWS 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/NEWS 2015-07-09 21:33:44 UTC (rev 7082)
@@ -3,20 +3,6 @@
See the file COPYING for copying conditions.
-* flex version 2.5.39
-
-** no user visible changes in this release
-
-* version 2.5.38 released 2014-02-14
-
-** internationalization
-
-*** add sr translation from the translation project
-
-*** update da, es, ko, nl, pt_BR, ro, ru, sv, tr, vi, zh_CN translations from the translation project
-
-*** rename zh_tw to its proper zh_TW name
-
* version 2.5.37 released 2012-08-03
** Import flex into git. See
Modified: trunk/contrib/flex/ONEWS
===================================================================
--- trunk/contrib/flex/ONEWS 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/ONEWS 2015-07-09 21:33:44 UTC (rev 7082)
@@ -613,7 +613,7 @@
sources. One side-effect of this change is that -+ and -CF
are now incompatible.
- - libfl.a now supplies private versions of the the <string.h>/
+ - libfl.a now supplies private versions of the <string.h>/
<strings.h> string routines needed by flex and the scanners
it generates, to enhance portability to some BSD systems.
@@ -944,7 +944,7 @@
given. To specify an end-of-file action for just the initial
state, use <INITIAL><<EOF>>.
- - -d debug output is now contigent on the global yy_flex_debug
+ - -d debug output is now contingent on the global yy_flex_debug
being set to a non-zero value, which it is by default.
- A new macro, YY_USER_INIT, is provided for the user to specify
@@ -987,7 +987,7 @@
- yy_switch_to_buffer() can be used in the yywrap() macro/routine.
- flex scanners do not use stdio for their input, and hence when
- writing an interactive scanner one must explictly call fflush()
+ writing an interactive scanner one must explicitly call fflush()
after writing out a prompt.
- flex scanner can be made reentrant (after a fashion) by using
Modified: trunk/contrib/flex/README
===================================================================
--- trunk/contrib/flex/README 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/README 2015-07-09 21:33:44 UTC (rev 7082)
@@ -8,15 +8,11 @@
http://flex.sourceforge.net/
-Bug reports should be submitted using the SourceForge Bug Tracker for
-flex at:
+Bug reports should be submitted using the SourceForge Bug Tracker
+facilities which can be found from flex's SourceForge project page at:
-http://sourceforge.net/tracker/?group_id=97492&atid=618177
+http://sourceforge.net/projects/flex
-The flex codebase is kept in git at:
-
-https://github.com/westes/flex
-
There are several mailing lists available as well:
flex-announce at lists.sourceforge.net - where posts will be made
@@ -28,60 +24,9 @@
flex-devel at lists.sourceforge.net - where you can discuss development of
flex itself
-Find information on subscribing to the mailing lists at:
+Note that flex is distributed under a copyright very similar to that of
+BSD Unix, and not under the GNU General Public License (GPL).
-http://sourceforge.net/mail/?group_id=97492
-
-The flex distribution contains the following files which may be of interest:
-
-README - This file.
-
-NEWS - current version number and list of user-visible changes.
-
-INSTALL - basic installation information.
-
-ABOUT-NLS - description of internationalization support in flex.
-
-COPYING - flex's copyright and license.
-
-doc/ - user documentation.
-
-examples/ - containing examples of some possible flex scanners and a
-few other things. See the file examples/README for more details.
-
-TODO - outstanding bug reports, desired features, etc.
-
-tests/ - regression tests. See TESTS/README for details.
-
-po/ - internationalization support files.
-
-You need the following tools to build flex from the maintainer's
-repository:
-
-compiler suite - flex is built with gcc
-bash, or a good Bourne-style shell
-m4 - m4 -p needs to work; GNU m4 and a few others are suitable
-GNU bison; to generate parse.c from parse.y
-autoconf 2.69; for handling the build system
-automake 1.12.2; for Makefile generation
-gettext 0.18; fori18n support
-help2man 1.36; to generate the flex man page
-tar, gzip, etc.; for packaging of the source distribution
-GNU texinfo 498; to build and test the flex manual
-GNU indent 2.8; for indenting the flex source the way we want it done
-
-Once you have all the necessary tools installed, life becomes
-simple. To prepare the flex tree for building, run the script:
-
-$ ./autogen.sh
-
-in the top level of the flex source tree.
-This script calls the various tools needed to get flex ready for the
-GNU-style configure script to be able to work.
-
-From this point on, building flex follows the usual configure, make,
-make install routine.
-
This file is part of flex.
This code is derived from software contributed to Berkeley by
@@ -110,4 +55,25 @@
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.
+The flex distribution contains the following files which may be of interest:
+README - This file.
+
+NEWS - current version number and list of user-visible changes.
+
+INSTALL - basic installation information.
+
+ABOUT-NLS - description of internationalization support in flex.
+
+COPYING - flex's copyright and license.
+
+doc/ - user documentation.
+
+examples/ - containing examples of some possible flex scanners and a
+few other things. See the file examples/README for more details.
+
+TODO - outstanding bug reports, desired features, etc.
+
+tests/ - regression tests. See TESTS/README for details.
+
+po/ - internationalization support files.
Modified: trunk/contrib/flex/ccl.c
===================================================================
--- trunk/contrib/flex/ccl.c 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/ccl.c 2015-07-09 21:33:44 UTC (rev 7082)
@@ -92,13 +92,13 @@
static void dump_cclp (FILE* file, int cclp)
{
- register int i;
+ int i;
putc ('[', file);
for (i = 0; i < csize; ++i) {
if (ccl_contains(cclp, i)){
- register int start_char = i;
+ int start_char = i;
putc (' ', file);
@@ -244,13 +244,13 @@
FILE *file;
int cset[];
{
- register int i;
+ int i;
putc ('[', file);
for (i = 0; i < csize; ++i) {
if (cset[i]) {
- register int start_char = i;
+ int start_char = i;
putc (' ', file);
Modified: trunk/contrib/flex/dfa.c
===================================================================
--- trunk/contrib/flex/dfa.c 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/dfa.c 2015-07-09 21:33:44 UTC (rev 7082)
@@ -101,12 +101,12 @@
int *accset;
int nacc;
{
- register int i, j;
+ int i, j;
for (i = 1; i <= num_states; ++i) {
int ns = nfa_states[i];
- register int type = state_type[ns];
- register int ar = assoc_rule[ns];
+ int type = state_type[ns];
+ int ar = assoc_rule[ns];
if (type == STATE_NORMAL || rule_type[ar] != RULE_VARIABLE) { /* do nothing */
}
@@ -141,14 +141,14 @@
FILE *file;
int ds;
{
- register int i, j;
- register int num_associated_rules = 0;
+ int i, j;
+ int num_associated_rules = 0;
int rule_set[MAX_ASSOC_RULES + 1];
int *dset = dss[ds];
int size = dfasiz[ds];
for (i = 1; i <= size; ++i) {
- register int rule_num = rule_linenum[assoc_rule[dset[i]]];
+ int rule_num = rule_linenum[assoc_rule[dset[i]]];
for (j = 1; j <= num_associated_rules; ++j)
if (rule_num == rule_set[j])
@@ -191,7 +191,7 @@
FILE *file;
int state[];
{
- register int i, ec;
+ int i, ec;
int out_char_set[CSIZE];
for (i = 0; i < csize; ++i) {
@@ -238,7 +238,7 @@
int *epsclosure (t, ns_addr, accset, nacc_addr, hv_addr)
int *t, *ns_addr, accset[], *nacc_addr, *hv_addr;
{
- register int stkpos, ns, tsp;
+ int stkpos, ns, tsp;
int numstates = *ns_addr, nacc, hashval, transsym, nfaccnum;
int stkend, nstate;
static int did_stk_init = false, *stk;
@@ -824,7 +824,7 @@
int sns[], numstates, accset[], nacc, hashval, *newds_addr;
{
int didsort = 0;
- register int i, j;
+ int i, j;
int newds, *oldsns;
for (i = 1; i <= lastdfa; ++i)
Modified: trunk/contrib/flex/ecs.c
===================================================================
--- trunk/contrib/flex/ecs.c 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/ecs.c 2015-07-09 21:33:44 UTC (rev 7082)
@@ -139,7 +139,7 @@
for (i = fwd[cclm]; i != NIL && i <= llsiz; i = fwd[i]) { /* look for the symbol in the character class */
for (; j < lenccl; ++j) {
- register int ccl_char;
+ int ccl_char;
if (NUL_mapping && ccls[j] == 0)
ccl_char = NUL_mapping;
Modified: trunk/contrib/flex/filter.c
===================================================================
--- trunk/contrib/flex/filter.c 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/filter.c 2015-07-09 21:33:44 UTC (rev 7082)
@@ -135,9 +135,6 @@
bool filter_apply_chain (struct filter * chain)
{
int pid, pipes[2];
- int r;
- const int readsz = 512;
- char *buf;
/* Tricky recursion, since we want to begin the chain
Modified: trunk/contrib/flex/flex.skl
===================================================================
--- trunk/contrib/flex/flex.skl 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/flex.skl 2015-07-09 21:33:44 UTC (rev 7082)
@@ -194,14 +194,15 @@
]])
/* First, we deal with platform-specific or compiler-specific issues. */
-#if defined(__MidnightBSD__)
+
+#if defined(__FreeBSD__)
#ifndef __STDC_LIMIT_MACROS
-#define __STDC_LIMIT_MACROS
+#define __STDC_LIMIT_MACROS
#endif
#include <sys/cdefs.h>
#include <stdint.h>
#else
-#define __dead2
+#define __dead2
#endif
/* begin standard C headers. */
@@ -512,17 +513,9 @@
if ( yytext[yyl] == '\n' )\
--yylineno;\
}while(0)
- #define YY_LINENO_REWIND_TO(dst) \
- do {\
- const char *p;\
- for ( p = yy_cp-1; p >= (dst); --p)\
- if ( *p == '\n' )\
- --yylineno;\
- }while(0)
]],
[[
#define YY_LESS_LINENO(n)
- #define YY_LINENO_REWIND_TO(ptr)
]])
]])
@@ -645,6 +638,7 @@
#define YY_CURRENT_BUFFER ( YY_G(yy_buffer_stack) \
? YY_G(yy_buffer_stack)[YY_G(yy_buffer_stack_top)] \
: NULL)
+#define yy_current_buffer YY_CURRENT_BUFFER
]])
m4_ifdef( [[M4_YY_NOT_IN_HEADER]],
@@ -756,7 +750,7 @@
static yy_state_type yy_get_previous_state M4_YY_PARAMS( M4_YY_PROTO_ONLY_ARG );
static yy_state_type yy_try_NUL_trans M4_YY_PARAMS( yy_state_type current_state M4_YY_PROTO_LAST_ARG);
static int yy_get_next_buffer M4_YY_PARAMS( M4_YY_PROTO_ONLY_ARG );
-static void yy_fatal_error M4_YY_PARAMS( yyconst char msg[] M4_YY_PROTO_LAST_ARG );
+static void yy_fatal_error M4_YY_PARAMS( yyconst char msg[] M4_YY_PROTO_LAST_ARG ) __dead2;
]])
%endif
@@ -1038,7 +1032,9 @@
%not-for-header
m4_ifdef( [[M4_YY_NO_UNPUT]],,
[[
+#ifndef YY_NO_UNPUT
static void yyunput M4_YY_PARAMS( int c, char *buf_ptr M4_YY_PROTO_LAST_ARG);
+#endif
]])
%ok-for-header
%endif
@@ -1277,9 +1273,9 @@
*/
YY_DECL
{
- register yy_state_type yy_current_state;
- register char *yy_cp, *yy_bp;
- register int yy_act;
+ yy_state_type yy_current_state;
+ char *yy_cp, *yy_bp;
+ int yy_act;
M4_YY_DECL_GUTS_VAR();
m4_ifdef( [[M4_YY_NOT_REENTRANT]],
@@ -1294,6 +1290,8 @@
]])
]])
+%% [7.0] user's declarations go here
+
m4_ifdef( [[M4_YY_BISON_LVAL]],
[[
yylval = yylval_param;
@@ -1349,9 +1347,6 @@
yy_load_buffer_state( M4_YY_CALL_ONLY_ARG );
}
- {
-%% [7.0] user's declarations go here
-
while ( 1 ) /* loops until end-of-file is reached */
{
%% [8.0] yymore()-related code goes here
@@ -1509,7 +1504,6 @@
"fatal flex scanner internal error--no action found" );
} /* end of action switch */
} /* end of scanning one token */
- } /* end of user's declarations */
} /* end of yylex */
%ok-for-header
@@ -1629,9 +1623,9 @@
%endif
{
M4_YY_DECL_GUTS_VAR();
- register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
- register char *source = YY_G(yytext_ptr);
- register int number_to_move, i;
+ char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
+ char *source = YY_G(yytext_ptr);
+ int number_to_move, i;
int ret_val;
if ( YY_G(yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[YY_G(yy_n_chars) + 1] )
@@ -1777,8 +1771,8 @@
yy_state_type yyFlexLexer::yy_get_previous_state()
%endif
{
- register yy_state_type yy_current_state;
- register char *yy_cp;
+ yy_state_type yy_current_state;
+ char *yy_cp;
M4_YY_DECL_GUTS_VAR();
%% [15.0] code to get the start state into yy_current_state goes here
@@ -1804,7 +1798,7 @@
yy_state_type yyFlexLexer::yy_try_NUL_trans( yy_state_type yy_current_state )
%endif
{
- register int yy_is_jam;
+ int yy_is_jam;
M4_YY_DECL_GUTS_VAR(); /* This var may be unused depending upon options. */
%% [17.0] code to find the next state, and perhaps do backing up, goes here
@@ -1816,13 +1810,15 @@
%if-c-only
m4_ifdef( [[M4_YY_NO_UNPUT]],,
[[
- static void yyunput YYFARGS2( int,c, register char *,yy_bp)
+#ifndef YY_NO_UNPUT
+ static void yyunput YYFARGS2( int,c, char *,yy_bp)
%endif
%if-c++-only
- void yyFlexLexer::yyunput( int c, register char* yy_bp)
+#ifndef YY_NO_UNPUT
+ void yyFlexLexer::yyunput( int c, char* yy_bp)
%endif
{
- register char *yy_cp;
+ char *yy_cp;
M4_YY_DECL_GUTS_VAR();
yy_cp = YY_G(yy_c_buf_p);
@@ -1833,10 +1829,10 @@
if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
{ /* need to shift things up to make room */
/* +2 for EOB chars. */
- register yy_size_t number_to_move = YY_G(yy_n_chars) + 2;
- register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
+ yy_size_t number_to_move = YY_G(yy_n_chars) + 2;
+ char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
- register char *source =
+ char *source =
&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
@@ -1865,6 +1861,7 @@
YY_G(yy_hold_char) = *yy_cp;
YY_G(yy_c_buf_p) = yy_cp;
}
+#endif /* ifndef YY_NO_UNPUT */
%if-c-only
]])
%endif
@@ -2970,7 +2967,7 @@
#ifndef yytext_ptr
static void yy_flex_strncpy YYFARGS3( char*,s1, yyconst char *,s2, int,n)
{
- register int i;
+ int i;
for ( i = 0; i < n; ++i )
s1[i] = s2[i];
}
@@ -2982,7 +2979,7 @@
#ifdef YY_NEED_STRLEN
static int yy_flex_strlen YYFARGS1( yyconst char *,s)
{
- register int n;
+ int n;
for ( n = 0; s[n]; ++n )
;
Modified: trunk/contrib/flex/flexdef.h
===================================================================
--- trunk/contrib/flex/flexdef.h 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/flexdef.h 2015-07-09 21:33:44 UTC (rev 7082)
@@ -61,7 +61,6 @@
#include <setjmp.h>
#include <ctype.h>
#include <string.h>
-#include <math.h>
#endif
#ifdef HAVE_ASSERT_H
#include <assert.h>
@@ -171,6 +170,7 @@
*/
#define NUMDATALINES 10
+/* Number of characters to print a line number, i.e., 1 + log10(INT_MAX) */
#define NUMCHARLINES 10
/* transition_struct_out() definitions. */
@@ -382,7 +382,7 @@
* use_read - if true (-f, -F, or -Cr) then use read() for scanner input;
* otherwise, use fread().
* yytext_is_array - if true (i.e., %array directive), then declare
- * yytext as a array instead of a character pointer. Nice and inefficient.
+ * yytext as an array instead of a character pointer. Nice and inefficient.
* do_yywrap - do yywrap() processing on EOF. If false, EOF treated as
* "no more files".
* csize - size of character set for the scanner we're generating;
@@ -845,10 +845,10 @@
extern void add_action PROTO ((const char *new_text));
/* True if a string is all lower case. */
-extern int all_lower PROTO ((register char *));
+extern int all_lower PROTO ((char *));
/* True if a string is all upper case. */
-extern int all_upper PROTO ((register char *));
+extern int all_upper PROTO ((char *));
/* Compare two integers for use by qsort. */
extern int intcmp PROTO ((const void *, const void *));
@@ -860,10 +860,10 @@
extern Char clower PROTO ((int));
/* Returns a dynamically allocated copy of a string. */
-extern char *copy_string PROTO ((register const char *));
+extern char *copy_string PROTO ((const char *));
/* Returns a dynamically allocated copy of a (potentially) unsigned string. */
-extern Char *copy_unsigned_string PROTO ((register Char *));
+extern Char *copy_unsigned_string PROTO ((Char *));
/* Compare two characters for use by qsort with '\0' sorting last. */
extern int cclcmp PROTO ((const void *, const void *));
@@ -924,7 +924,7 @@
/* Mark the current position in the action array as the end of the prolog. */
extern void mark_prolog PROTO ((void));
-/* Generate a data statment for a two-dimensional array. */
+/* Generate a data statement for a two-dimensional array. */
extern void mk2data PROTO ((int));
extern void mkdata PROTO ((int)); /* generate a data statement */
@@ -989,7 +989,7 @@
/* Mark each "beginning" state in a machine as being a "normal" (i.e.,
* not trailing context associated) state.
*/
-extern void mark_beginning_as_normal PROTO ((register int));
+extern void mark_beginning_as_normal PROTO ((int));
/* Make a machine that branches to two machines. */
extern int mkbranch PROTO ((int, int));
Modified: trunk/contrib/flex/gen.c
===================================================================
--- trunk/contrib/flex/gen.c 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/gen.c 2015-07-09 21:33:44 UTC (rev 7082)
@@ -81,7 +81,7 @@
void do_indent ()
{
- register int i = indent_level * 8;
+ int i = indent_level * 8;
while (i >= 8) {
outc ('\t');
@@ -121,7 +121,7 @@
}
/* Generate the table for possible eol matches. */
-static void geneoltbl ()
+static void geneoltbl (void)
{
int i;
@@ -201,7 +201,7 @@
static struct yytbl_data *mkctbl (void)
{
- register int i;
+ int i;
struct yytbl_data *tbl = 0;
flex_int32_t *tdata = 0, curr = 0;
int end_of_buffer_action = num_rules + 1;
@@ -332,7 +332,7 @@
void genctbl ()
{
- register int i;
+ int i;
int end_of_buffer_action = num_rules + 1;
/* Table of verify for transition and offset to next state. */
@@ -431,9 +431,9 @@
/* mkecstbl - Make equivalence-class tables. */
-struct yytbl_data *mkecstbl (void)
+static struct yytbl_data *mkecstbl (void)
{
- register int i;
+ int i;
struct yytbl_data *tbl = 0;
flex_int32_t *tdata = 0;
@@ -462,7 +462,7 @@
void genecs ()
{
- register int i, j;
+ int i, j;
int numrows;
out_str_dec (get_int32_decl (), "yy_ec", csize);
@@ -507,6 +507,7 @@
indent_puts ("yy_current_state = *--YY_G(yy_state_ptr);");
indent_puts ("YY_G(yy_lp) = yy_accept[yy_current_state];");
+ outn ("goto find_rule; /* avoid `defined but not used' warning */");
outn ("find_rule: /* we branch to this label when backing up */");
indent_puts
@@ -637,7 +638,7 @@
struct yytbl_data *mkftbl (void)
{
- register int i;
+ int i;
int end_of_buffer_action = num_rules + 1;
struct yytbl_data *tbl;
flex_int32_t *tdata = 0;
@@ -654,7 +655,7 @@
dfaacc[end_of_buffer_state].dfaacc_state = end_of_buffer_action;
for (i = 1; i <= lastdfa; ++i) {
- register int anum = dfaacc[i].dfaacc_state;
+ int anum = dfaacc[i].dfaacc_state;
tdata[i] = anum;
@@ -674,7 +675,7 @@
void genftbl ()
{
- register int i;
+ int i;
int end_of_buffer_action = num_rules + 1;
out_str_dec (long_align ? get_int32_decl () : get_int16_decl (),
@@ -683,7 +684,7 @@
dfaacc[end_of_buffer_state].dfaacc_state = end_of_buffer_action;
for (i = 1; i <= lastdfa; ++i) {
- register int anum = dfaacc[i].dfaacc_state;
+ int anum = dfaacc[i].dfaacc_state;
mkdata (anum);
@@ -708,7 +709,7 @@
void gen_next_compressed_state (char_map)
char *char_map;
{
- indent_put2s ("register YY_CHAR yy_c = %s;", char_map);
+ indent_put2s ("YY_CHAR yy_c = %s;", char_map);
/* Save the backing-up info \before/ computing the next state
* because we always compute one more state than needed - we
@@ -794,8 +795,8 @@
else if (fullspd) {
indent_puts ("{");
indent_puts
- ("register yyconst struct yy_trans_info *yy_trans_info;\n");
- indent_puts ("register YY_CHAR yy_c;\n");
+ ("yyconst struct yy_trans_info *yy_trans_info;\n");
+ indent_puts ("YY_CHAR yy_c;\n");
indent_put2s ("for ( yy_c = %s;", char_map);
indent_puts
(" (yy_trans_info = &yy_current_state[(unsigned int) yy_c])->");
@@ -938,7 +939,7 @@
/* We're going to need yy_cp lying around for the call
* below to gen_backing_up().
*/
- indent_puts ("register char *yy_cp = YY_G(yy_c_buf_p);");
+ indent_puts ("char *yy_cp = YY_G(yy_c_buf_p);");
outc ('\n');
@@ -959,10 +960,10 @@
else if (fullspd) {
do_indent ();
- out_dec ("register int yy_c = %d;\n", NUL_ec);
+ out_dec ("int yy_c = %d;\n", NUL_ec);
indent_puts
- ("register yyconst struct yy_trans_info *yy_trans_info;\n");
+ ("yyconst struct yy_trans_info *yy_trans_info;\n");
indent_puts
("yy_trans_info = &yy_current_state[(unsigned int) yy_c];");
indent_puts ("yy_current_state += yy_trans_info->yy_nxt;");
@@ -1319,7 +1320,7 @@
yybase_curr = 1;
for (i = 1; i <= lastdfa; ++i) {
- register int d = def[i];
+ int d = def[i];
if (base[i] == JAMSTATE)
base[i] = jambase;
@@ -1501,7 +1502,7 @@
void make_tables ()
{
- register int i;
+ int i;
int did_eof_rule = false;
struct yytbl_data *yynultrans_tbl;
Modified: trunk/contrib/flex/libyywrap.c
===================================================================
--- trunk/contrib/flex/libyywrap.c 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/libyywrap.c 2015-07-09 21:33:44 UTC (rev 7082)
@@ -21,6 +21,7 @@
/* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */
/* PURPOSE. */
+int yywrap (void);
int yywrap (void)
{
return 1;
Modified: trunk/contrib/flex/main.c
===================================================================
--- trunk/contrib/flex/main.c 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/main.c 2015-07-09 21:33:44 UTC (rev 7082)
@@ -364,7 +364,7 @@
output_chain = filter_create_int(NULL, filter_tee_header, headerfilename);
if ( !(m4 = getenv("M4")))
m4 = M4;
- filter_create_ext(output_chain, m4, "-P", 0);
+ filter_create_ext(output_chain, m4, "-gP", 0);
filter_create_int(output_chain, filter_fix_linedirs, NULL);
/* For debugging, only run the requested number of filters. */
@@ -1575,11 +1575,12 @@
}
if (!do_yywrap) {
- if (!C_plus_plus)
+ if (!C_plus_plus) {
if (reentrant)
outn ("\n#define yywrap(yyscanner) 1");
else
outn ("\n#define yywrap() 1");
+ }
outn ("#define YY_SKIP_YYWRAP");
}
Modified: trunk/contrib/flex/misc.c
===================================================================
--- trunk/contrib/flex/misc.c 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/misc.c 2015-07-09 21:33:44 UTC (rev 7082)
@@ -113,6 +113,7 @@
}
+#ifdef notdef
/** Append "m4_define([[defname]],[[value]])m4_dnl\n" to the running buffer.
* @param defname The macro name.
* @param value The macro value, can be NULL, which is the same as the empty string.
@@ -133,6 +134,7 @@
snprintf (buf, sizeof(buf), "m4_define([[%s]],[[%s]])m4_dnl\n", defname, value?value:"");
add_action (buf);
}
+#endif
/* Append "new_text" to the running buffer. */
void add_action (new_text)
@@ -168,7 +170,7 @@
int size;
size_t element_size;
{
- register void *mem;
+ void *mem;
size_t num_bytes = element_size * size;
mem = flex_alloc (num_bytes);
@@ -183,7 +185,7 @@
/* all_lower - true if a string is all lower-case */
int all_lower (str)
- register char *str;
+ char *str;
{
while (*str) {
if (!isascii ((Char) * str) || !islower ((Char) * str))
@@ -198,7 +200,7 @@
/* all_upper - true if a string is all upper-case */
int all_upper (str)
- register char *str;
+ char *str;
{
while (*str) {
if (!isascii ((Char) * str) || !isupper ((Char) * str))
@@ -241,7 +243,7 @@
/* clower - replace upper-case letter to lower-case */
Char clower (c)
- register int c;
+ int c;
{
return (Char) ((isascii (c) && isupper (c)) ? tolower (c) : c);
}
@@ -250,10 +252,10 @@
/* copy_string - returns a dynamically allocated copy of a string */
char *copy_string (str)
- register const char *str;
+ const char *str;
{
- register const char *c1;
- register char *c2;
+ const char *c1;
+ char *c2;
char *copy;
unsigned int size;
@@ -278,9 +280,9 @@
*/
Char *copy_unsigned_string (str)
- register Char *str;
+ Char *str;
{
- register Char *c;
+ Char *c;
Char *copy;
/* find length */
@@ -740,13 +742,13 @@
}
-/* readable_form - return the the human-readable form of a character
+/* readable_form - return the human-readable form of a character
*
* The returned string is in static storage.
*/
char *readable_form (c)
- register int c;
+ int c;
{
static char rform[10];
@@ -795,7 +797,7 @@
int size;
size_t element_size;
{
- register void *new_array;
+ void *new_array;
size_t num_bytes = element_size * size;
new_array = flex_realloc (array, num_bytes);
@@ -991,7 +993,7 @@
char *region_ptr;
size_t size_in_bytes;
{
- register char *rp, *rp_end;
+ char *rp, *rp_end;
rp = region_ptr;
rp_end = region_ptr + size_in_bytes;
Modified: trunk/contrib/flex/nfa.c
===================================================================
--- trunk/contrib/flex/nfa.c 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/nfa.c 2015-07-09 21:33:44 UTC (rev 7082)
@@ -257,11 +257,6 @@
("*yy_cp = YY_G(yy_hold_char); /* undo effects of setting up yytext */\n");
if (headcnt > 0) {
- if (rule_has_nl[num_rules]) {
- snprintf (action_text, sizeof(action_text),
- "YY_LINENO_REWIND_TO(%s + %d);\n", scanner_bp, headcnt);
- add_action (action_text);
- }
snprintf (action_text, sizeof(action_text), "%s = %s + %d;\n",
scanner_cp, scanner_bp, headcnt);
add_action (action_text);
@@ -268,12 +263,6 @@
}
else {
- if (rule_has_nl[num_rules]) {
- snprintf (action_text, sizeof(action_text),
- "YY_LINENO_REWIND_TO(yy_cp - %d);\n", trailcnt);
- add_action (action_text);
- }
-
snprintf (action_text, sizeof(action_text), "%s -= %d;\n",
scanner_cp, trailcnt);
add_action (action_text);
@@ -340,7 +329,7 @@
*/
void mark_beginning_as_normal (mach)
- register int mach;
+ int mach;
{
switch (state_type[mach]) {
case STATE_NORMAL:
Modified: trunk/contrib/flex/parse.y
===================================================================
--- trunk/contrib/flex/parse.y 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/parse.y 2015-07-09 21:33:44 UTC (rev 7082)
@@ -953,7 +953,7 @@
void build_eof_action()
{
- register int i;
+ int i;
char action_text[MAXLINE];
for ( i = 1; i <= scon_stk_ptr; ++i )
Modified: trunk/contrib/flex/scan.l
===================================================================
--- trunk/contrib/flex/scan.l 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/scan.l 2015-07-09 21:33:44 UTC (rev 7082)
@@ -661,7 +661,7 @@
* context.
*/
"{"{NAME}"}"[[:space:]]? {
- register Char *nmdefptr;
+ Char *nmdefptr;
int end_is_ws, end_ch;
end_ch = yytext[yyleng-1];
Modified: trunk/contrib/flex/sym.c
===================================================================
--- trunk/contrib/flex/sym.c 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/sym.c 2015-07-09 21:33:44 UTC (rev 7082)
@@ -59,12 +59,12 @@
/* declare functions that have forward references */
-static int addsym PROTO ((register char[], char *, int, hash_table, int));
-static struct hash_entry *findsym PROTO ((register const char *sym,
+static int addsym PROTO ((char[], char *, int, hash_table, int));
+static struct hash_entry *findsym PROTO ((const char *sym,
hash_table table,
int table_size));
-static int hashfunct PROTO ((register const char *, int));
+static int hashfunct PROTO ((const char *, int));
/* addsym - add symbol and definitions to symbol table
@@ -73,7 +73,7 @@
*/
static int addsym (sym, str_def, int_def, table, table_size)
- register char sym[];
+ char sym[];
char *str_def;
int int_def;
hash_table table;
@@ -80,9 +80,9 @@
int table_size;
{
int hash_val = hashfunct (sym, table_size);
- register struct hash_entry *sym_entry = table[hash_val];
- register struct hash_entry *new_entry;
- register struct hash_entry *successor;
+ struct hash_entry *sym_entry = table[hash_val];
+ struct hash_entry *new_entry;
+ struct hash_entry *successor;
while (sym_entry) {
if (!strcmp (sym, sym_entry->name)) { /* entry already exists */
@@ -147,7 +147,7 @@
/* findsym - find symbol in symbol table */
static struct hash_entry *findsym (sym, table, table_size)
- register const char *sym;
+ const char *sym;
hash_table table;
int table_size;
{
@@ -155,7 +155,7 @@
(struct hash_entry *) 0, (struct hash_entry *) 0,
(char *) 0, (char *) 0, 0,
};
- register struct hash_entry *sym_entry =
+ struct hash_entry *sym_entry =
table[hashfunct (sym, table_size)];
@@ -171,11 +171,11 @@
/* hashfunct - compute the hash value for "str" and hash size "hash_size" */
static int hashfunct (str, hash_size)
- register const char *str;
+ const char *str;
int hash_size;
{
- register int hashval;
- register int locstr;
+ int hashval;
+ int locstr;
hashval = 0;
locstr = 0;
Modified: trunk/contrib/flex/tblcmp.c
===================================================================
--- trunk/contrib/flex/tblcmp.c 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/tblcmp.c 2015-07-09 21:33:44 UTC (rev 7082)
@@ -36,7 +36,7 @@
/* declarations for functions that have forward references */
-void mkentry PROTO ((register int *, int, int, int, int));
+void mkentry PROTO ((int *, int, int, int, int));
void mkprot PROTO ((int[], int, int));
void mktemplate PROTO ((int[], int, int));
void mv2front PROTO ((int));
@@ -224,7 +224,7 @@
void cmptmps ()
{
int tmpstorage[CSIZE + 1];
- register int *tmp = tmpstorage, i, j;
+ int *tmp = tmpstorage, i, j;
int totaltrans, trans;
peakpairs = numtemps * numecs + tblend;
@@ -291,7 +291,7 @@
void expand_nxt_chk ()
{
- register int old_max = current_max_xpairs;
+ int old_max = current_max_xpairs;
current_max_xpairs += MAX_XPAIRS_INCREMENT;
@@ -330,9 +330,9 @@
/* Firstfree is the position of the first possible occurrence of two
* consecutive unused records in the chk and nxt arrays.
*/
- register int i;
- register int *state_ptr, *chk_ptr;
- register int *ptr_to_last_entry_in_state;
+ int i;
+ int *state_ptr, *chk_ptr;
+ int *ptr_to_last_entry_in_state;
/* If there are too many out-transitions, put the state at the end of
* nxt and chk.
@@ -421,7 +421,7 @@
*/
void inittbl ()
{
- register int i;
+ int i;
zero_out ((char *) chk,
@@ -494,7 +494,7 @@
* (i.e., jam entries) into the table. It is assumed that by linking to
* "JAMSTATE" they will be taken care of. In any case, entries in "state"
* marking transitions to "SAME_TRANS" are treated as though they will be
- * taken care of by whereever "deflink" points. "totaltrans" is the total
+ * taken care of by wherever "deflink" points. "totaltrans" is the total
* number of transitions out of the state. If it is below a certain threshold,
* the tables are searched for an interior spot that will accommodate the
* state array.
@@ -501,10 +501,10 @@
*/
void mkentry (state, numchars, statenum, deflink, totaltrans)
- register int *state;
+ int *state;
int numchars, statenum, deflink, totaltrans;
{
- register int minec, maxec, i, baseaddr;
+ int minec, maxec, i, baseaddr;
int tblbase, tbllast;
if (totaltrans == 0) { /* there are no out-transitions */
@@ -762,8 +762,8 @@
void place_state (state, statenum, transnum)
int *state, statenum, transnum;
{
- register int i;
- register int *state_ptr;
+ int i;
+ int *state_ptr;
int position = find_table_space (state, transnum);
/* "base" is the table of start positions. */
@@ -835,8 +835,8 @@
int tbldiff (state, pr, ext)
int state[], pr, ext[];
{
- register int i, *sp = state, *ep = ext, *protp;
- register int numdiff = 0;
+ int i, *sp = state, *ep = ext, *protp;
+ int numdiff = 0;
protp = &protsave[numecs * (pr - 1)];
Deleted: trunk/contrib/flex/ylwrap
===================================================================
--- trunk/contrib/flex/ylwrap 2015-07-09 21:32:57 UTC (rev 7081)
+++ trunk/contrib/flex/ylwrap 2015-07-09 21:33:44 UTC (rev 7082)
@@ -1,226 +0,0 @@
-#! /bin/sh
-# ylwrap - wrapper for lex/yacc invocations.
-
-scriptversion=2011-08-25.18; # UTC
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
-# 2007, 2009, 2010, 2011 Free Software Foundation, Inc.
-#
-# Written by Tom Tromey <tromey at cygnus.com>.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-# This file is maintained in Automake, please report
-# bugs to <bug-automake at gnu.org> or send patches to
-# <automake-patches at gnu.org>.
-
-case "$1" in
- '')
- echo "$0: No files given. Try \`$0 --help' for more information." 1>&2
- exit 1
- ;;
- --basedir)
- basedir=$2
- shift 2
- ;;
- -h|--h*)
- cat <<\EOF
-Usage: ylwrap [--help|--version] INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]...
-
-Wrapper for lex/yacc invocations, renaming files as desired.
-
- INPUT is the input file
- OUTPUT is one file PROG generates
- DESIRED is the file we actually want instead of OUTPUT
- PROGRAM is program to run
- ARGS are passed to PROG
-
-Any number of OUTPUT,DESIRED pairs may be used.
-
-Report bugs to <bug-automake at gnu.org>.
-EOF
- exit $?
- ;;
- -v|--v*)
- echo "ylwrap $scriptversion"
- exit $?
- ;;
-esac
-
-
-# The input.
-input="$1"
-shift
-case "$input" in
- [\\/]* | ?:[\\/]*)
- # Absolute path; do nothing.
- ;;
- *)
- # Relative path. Make it absolute.
- input="`pwd`/$input"
- ;;
-esac
-
-pairlist=
-while test "$#" -ne 0; do
- if test "$1" = "--"; then
- shift
- break
- fi
- pairlist="$pairlist $1"
- shift
-done
-
-# The program to run.
-prog="$1"
-shift
-# Make any relative path in $prog absolute.
-case "$prog" in
- [\\/]* | ?:[\\/]*) ;;
- *[\\/]*) prog="`pwd`/$prog" ;;
-esac
-
-# FIXME: add hostname here for parallel makes that run commands on
-# other machines. But that might take us over the 14-char limit.
-dirname=ylwrap$$
-do_exit="cd '`pwd`' && rm -rf $dirname > /dev/null 2>&1;"' (exit $ret); exit $ret'
-trap "ret=129; $do_exit" 1
-trap "ret=130; $do_exit" 2
-trap "ret=141; $do_exit" 13
-trap "ret=143; $do_exit" 15
-mkdir $dirname || exit 1
-
-cd $dirname
-
-case $# in
- 0) "$prog" "$input" ;;
- *) "$prog" "$@" "$input" ;;
-esac
-ret=$?
-
-if test $ret -eq 0; then
- set X $pairlist
- shift
- first=yes
- # Since DOS filename conventions don't allow two dots,
- # the DOS version of Bison writes out y_tab.c instead of y.tab.c
- # and y_tab.h instead of y.tab.h. Test to see if this is the case.
- y_tab_nodot="no"
- if test -f y_tab.c || test -f y_tab.h; then
- y_tab_nodot="yes"
- fi
-
- # The directory holding the input.
- input_dir=`echo "$input" | sed -e 's,\([\\/]\)[^\\/]*$,\1,'`
- # Quote $INPUT_DIR so we can use it in a regexp.
- # FIXME: really we should care about more than `.' and `\'.
- input_rx=`echo "$input_dir" | sed 's,\\\\,\\\\\\\\,g;s,\\.,\\\\.,g'`
-
- while test "$#" -ne 0; do
- from="$1"
- # Handle y_tab.c and y_tab.h output by DOS
- if test $y_tab_nodot = "yes"; then
- if test $from = "y.tab.c"; then
- from="y_tab.c"
- else
- if test $from = "y.tab.h"; then
- from="y_tab.h"
- fi
- fi
- fi
- if test -f "$from"; then
- # If $2 is an absolute path name, then just use that,
- # otherwise prepend `../'.
- case "$2" in
- [\\/]* | ?:[\\/]*) target="$2";;
- *) target="../$2";;
- esac
-
- # We do not want to overwrite a header file if it hasn't
- # changed. This avoid useless recompilations. However the
- # parser itself (the first file) should always be updated,
- # because it is the destination of the .y.c rule in the
- # Makefile. Divert the output of all other files to a temporary
- # file so we can compare them to existing versions.
- if test $first = no; then
- realtarget="$target"
- target="tmp-`echo $target | sed s/.*[\\/]//g`"
- fi
- # Edit out `#line' or `#' directives.
- #
- # We don't want the resulting debug information to point at
- # an absolute srcdir; it is better for it to just mention the
- # .y file with no path.
- #
- # We want to use the real output file name, not yy.lex.c for
- # instance.
- #
- # We want the include guards to be adjusted too.
- FROM=`echo "$from" | sed \
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\
- -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`
- TARGET=`echo "$2" | sed \
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\
- -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`
-
- sed -e "/^#/!b" -e "s,$input_rx,," -e "s,$from,$2," \
- -e "s,$FROM,$TARGET," "$from" >"$target" || ret=$?
-
- # Check whether header files must be updated.
- if test $first = no; then
- if test -f "$realtarget" && cmp -s "$realtarget" "$target"; then
- echo "$2" is unchanged
- rm -f "$target"
- else
- echo updating "$2"
- mv -f "$target" "$realtarget"
- fi
- fi
- else
- # A missing file is only an error for the first file. This
- # is a blatant hack to let us support using "yacc -d". If -d
- # is not specified, we don't want an error when the header
- # file is "missing".
- if test $first = yes; then
- ret=1
- fi
- fi
- shift
- shift
- first=no
- done
-else
- ret=$?
-fi
-
-# Remove the directory.
-cd ..
-rm -rf $dirname
-
-exit $ret
-
-# Local Variables:
-# mode: shell-script
-# sh-indentation: 2
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "scriptversion="
-# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
-# time-stamp-end: "; # UTC"
-# End:
More information about the Midnightbsd-cvs
mailing list