[EMAIL PROTECTED] dixit:

>track (struct parser_res)->itype stronger than (struct parser_keywords)->kwtype

Output looks now like this; diff along the lines of:

----- cutting here may damage your screen surface -----
-ent #005: keyword MASTER_SITES (type iterated), iterator 0, value
+ent #005: keyword MASTER_SITES (type normal orig iterated), value
        『http://www.busybox.net/downloads/』
-ent #006: keyword DISTFILE (type iterated), iterator 0, value
+ent #006: keyword DISTFILE (type normal orig iterated), value
        『busybox-1.4.2.tar.bz2』
 ent #007: keyword HASHES (type normal), value
        『md5』
-ent #008: keyword HASH (type multitop), iterator 0, multi 'md5', value
+ent #008: keyword HASH (type multi orig multitop), multi 'md5', value
        『b4c61fb15642be9dde20e8493788c585』
----- cutting here may damage your screen surface -----

The basic idea is: DISTFILE is KWT_ITERATED to allow several occurences,
most notably DISTFILE_1 and DISTFILE_2 for patches. We however do allow
to use DISTFILE as synonym for DISTFILE_0 due to the 0 default for both
kw_iter and kw_multi. We track the DISTFILE entry as KWT_NORMAL for the
specific instance (ie. within the CIRCLEQ) and remember that it deviates
from what the keyword itself normally allows.

----- cutting here may damage your screen surface -----
parsing package/busybox/info.nfo…ok, 34 entries
ent #000: keyword NAME (type normal), value
        『busybox』
ent #001: keyword VERSION (type normal), value
        『1.4.2』
ent #002: keyword DASHVER (type normal), value
        『27』
ent #003: keyword PERMIT_SRC (type normal), value
        『y』
ent #004: keyword PERMIT_BIN (type normal orig multi), value
        『y』
ent #005: keyword MASTER_SITES (type normal orig iterated), value
        『http://www.busybox.net/downloads/』
ent #006: keyword DISTFILE (type normal orig iterated), value
        『busybox-1.4.2.tar.bz2』
ent #007: keyword HASHES (type normal), value
        『md5』
ent #008: keyword HASH (type multi orig multitop), multi 'md5', value
        『b4c61fb15642be9dde20e8493788c585』
ent #009: keyword RCCONF_SYMS (type normal), value
        『5』
ent #010: keyword RCCONF (type multiter), iterator 1, multi 'TAG', value
        『network』
ent #011: keyword RCCONF (type multiter), iterator 1, multi 'VAL', value
        『YES』
ent #012: keyword RCCONF (type multiter), iterator 2, multi 'TAG', value
        『crond』
ent #013: keyword RCCONF (type multiter), iterator 3, multi 'TAG', value
        『syslogd』
ent #014: keyword RCCONF (type multiter), iterator 4, multi 'TAG', value
        『syslogd_flags』
ent #015: keyword RCCONF (type multiter), iterator 4, multi 'VAL', value
        『-C16』
ent #016: keyword RCCONF (type multiter), iterator 5, multi 'TAG', value
        『inetd』
ent #017: keyword PKGDEPS (type normal orig multi), value
        『fwifupdown』
ent #018: keyword CATEGORY (type normal orig multi), value
        『base』
ent #019: keyword MENUITEM (type normal orig multi), value
        『busybox』
ent #020: keyword DEFAULT (type normal orig multi), value
        『y』
ent #021: keyword DESCRIPTION (type normal orig multi), value
        『The Swiss Army Knife』
ent #022: keyword HELPTEXT (type normal orig multi), value
        『The Swiss Army Knife of embedded Linux.  It slices, it dices, it
          makes Julian Fries.』
ent #023: keyword URLS (type normal), value
        『http://busybox.net/』
ent #024: keyword FLAVOURS (type normal orig multi), value
        『bbconfig』
ent #025: keyword CITEM (type multi), multi 'bbconfig', value
        『choice』
ent #026: keyword DESCRIPTION (type multi), multi 'bbconfig', value
        『busybox configuration』
ent #027: keyword FLAVOURS (type multi), multi 'bbconfig', value
        『small full custom』
ent #028: keyword DEFAULT (type multi), multi 'bbconfig', value
        『small』
ent #029: keyword DESCRIPTION (type multi), multi 'small', value
        『Build an extra small busybox』
ent #030: keyword HELPTEXT (type multi), multi 'small', value
        『This will keep a few applets out of busybox for the sake of size.』
ent #031: keyword DESCRIPTION (type multi), multi 'full', value
        『Build a full-featured busybox』
ent #032: keyword DESCRIPTION (type multi), multi 'custom', value
        『Use bbconfig.custom』
ent #033: keyword HELPTEXT (type multi), multi 'custom', value
        『Experts only!
          .
          To generate it: make package=busybox patch; cd build*/w-busybox*/busy*
          and make menuconfig, then use the .config file created.』
parsing package/fwcf/info.nfo…ok, 15 entries
ent #000: keyword NAME (type normal), value
        『fwcf』
ent #001: keyword VERSION (type normal), value
        『1.05b』
ent #002: keyword DASHVER (type normal), value
        『1』
ent #003: keyword PERMIT_SRC (type normal), value
        『y』
ent #004: keyword PERMIT_BIN (type normal orig multi), value
        『y』
ent #005: keyword MASTER_SITES (type normal orig iterated), value
        『http://www.freewrt.org/distfiles/
          http://www.mirbsd.org/dist/hosted/fwcf/
          http://pub.allbsd.org/dist/hosted/fwcf/』
ent #006: keyword HASHES (type normal), value
        『md5』
ent #007: keyword HASH (type multi orig multitop), multi 'md5', value
        『085bb546d0b788d37466e97c187c6e7a』
ent #008: keyword CSYMDEPS (type normal orig multi), value
        『FWRT_LINUX_2_4_BRCM』
ent #009: keyword PKGDEPS (type normal orig multi), value
        『mksh
          mtd』
ent #010: keyword CATEGORY (type normal orig multi), value
        『base』
ent #011: keyword MENUITEM (type normal orig multi), value
        『fwcf』
ent #012: keyword DEFAULT (type normal orig multi), value
        『y』
ent #013: keyword DESCRIPTION (type normal orig multi), value
        『FreeWRT Configuration Filesystem (LZO1X-1 version)』
ent #014: keyword HELPTEXT (type normal orig multi), value
        『The FreeWRT compressed /etc filesystem management tools.
          This builds the LZO1X-1 version.』
parsing package/fwwif/info.nfo…ok, 16 entries
ent #000: keyword NAME (type normal), value
        『fwwif』
ent #001: keyword VERSION (type normal), value
        『20070719』
ent #002: keyword DASHVER (type normal), value
        『1』
ent #003: keyword PERMIT_SRC (type normal), value
        『y』
ent #004: keyword PERMIT_BIN (type normal orig multi), value
        『y』
ent #005: keyword DISTFILES (type normal), value
        『0』
ent #006: keyword RCCONF_SYMS (type normal), value
        『1』
ent #007: keyword RCCONF (type multiter), iterator 1, multi 'TAG', value
        『FreeWRT Webinterface』
ent #008: keyword RCCONF (type multiter), iterator 1, multi 'SYM', value
        『fwwif』
ent #009: keyword CONFFILES (type normal orig multi), value
        『/etc/fwwif/fwwif.conf
          /etc/fwwif/fwwif.properties
          /etc/fwwif/mime.types』
ent #010: keyword PKGDEPS (type normal orig multi), value
        『ed
          mksh
          openssl,util
          tntnet
          tntnet,-openssl
          what』
ent #011: keyword CATEGORY (type normal orig multi), value
        『base』
ent #012: keyword MENUITEM (type normal orig multi), value
        『fwwif』
ent #013: keyword DEFAULT (type normal orig multi), value
        『n』
ent #014: keyword DESCRIPTION (type normal orig multi), value
        『FreeWRT Webinterface』
ent #015: keyword HELPTEXT (type normal orig multi), value
        『The FreeWRT Webinterface (beta). Requires Tntnet.』
parsing package/mksh/info.nfo…ok, 20 entries
ent #000: keyword NAME (type normal), value
        『mksh』
ent #001: keyword VERSION (type normal), value
        『30.1』
ent #002: keyword DASHVER (type normal), value
        『2』
ent #003: keyword PERMIT_SRC (type normal), value
        『y』
ent #004: keyword PERMIT_BIN (type normal orig multi), value
        『y』
ent #005: keyword MASTER_SITES (type normal orig iterated), value
        『${MASTER_SITE_MIRBSD:distfiles/=dist/mir/mksh/}』
ent #006: keyword DISTFILE (type iterated), iterator 1, value
        『mksh-R30.cpio.gz』
ent #007: keyword HASHES (type normal), value
        『md5』
ent #008: keyword HASH (type multi orig multitop), multi 'md5', value
        『184a63aa5b1450581dc463148f3d245e』
ent #009: keyword CONFFILES (type normal orig multi), value
        『/etc/mkshrc』
ent #010: keyword CATEGORY (type normal orig multi), value
        『base』
ent #011: keyword MENUITEM (type normal orig multi), value
        『mksh』
ent #012: keyword DEFAULT (type normal orig multi), value
        『y』
ent #013: keyword DESCRIPTION (type normal orig multi), value
        『MirBSD enhanced version of the Korn Shell』
ent #014: keyword HELPTEXT (type normal orig multi), value
        『mksh is the MirBSD enhanced version of the Public Domain Korn
          shell (pdksh), a bourne-compatible shell which is largely similar
          to the original AT&T Korn shell. It includes bug fixes and
          feature improvements in order to produce a modern, robust shell
          good for interactive and especially script use. Some sh/ksh/pdksh
          compatibility kludges have been removed; command line editing has
          been made UTF-8 safe (must be enabled with "set -U" manually).
          .
          This package also adds /bin/mksh to /etc/shells and a $PS1 command
          to /etc/profile in order to create a consistent working environment.』
ent #015: keyword URLS (type normal), value
        『http://mirbsd.de/mksh』
ent #016: keyword FLAVOURS (type normal orig multi), value
        『full』
ent #017: keyword DEFAULT (type multi), multi 'full', value
        『y』
ent #018: keyword DESCRIPTION (type multi), multi 'full', value
        『Include all features』
ent #019: keyword HELPTEXT (type multi), multi 'full', value
        『Disable this to remove a few functions from mksh to make it smaller.
          Ideal for embedded systems. However, be aware you will lose some
          functionality you'd otherwise expect, among these is the vi command
          line editing mode.』
----- cutting here may damage your screen surface -----


//mirabile
-- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.              -- Coywolf Qi Hunt
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to