[Pkg-ocaml-maint-commits] r2158 - in trunk/projects/ocaml-deblib: .
debian
Stefano Zacchiroli
zack at costa.debian.org
Sun Nov 27 11:11:19 UTC 2005
Author: zack
Date: 2005-11-27 11:11:19 +0000 (Sun, 27 Nov 2005)
New Revision: 2158
Added:
trunk/projects/ocaml-deblib/META
trunk/projects/ocaml-deblib/debian/
trunk/projects/ocaml-deblib/debian/changelog
trunk/projects/ocaml-deblib/debian/compat
trunk/projects/ocaml-deblib/debian/control
trunk/projects/ocaml-deblib/debian/control.in
trunk/projects/ocaml-deblib/debian/copyright
trunk/projects/ocaml-deblib/debian/libdeblib-ocaml-dev.install
trunk/projects/ocaml-deblib/debian/libdeblib-ocaml-dev.install.in
trunk/projects/ocaml-deblib/debian/rules
trunk/projects/ocaml-deblib/deblib_Utils.mli
Modified:
trunk/projects/ocaml-deblib/deblib_822Lexer.ml
trunk/projects/ocaml-deblib/deblib_822Parser.ml
Log:
- debianized
- added META
- added some .mli
Added: trunk/projects/ocaml-deblib/META
===================================================================
--- trunk/projects/ocaml-deblib/META 2005-11-27 10:45:15 UTC (rev 2157)
+++ trunk/projects/ocaml-deblib/META 2005-11-27 11:11:19 UTC (rev 2158)
@@ -0,0 +1,7 @@
+name="deblib"
+version="0.0.1"
+description="Debian Packages/Sources files handling"
+requires="str"
+archive(byte)="deblib.cma"
+archive(native)="deblib.cmxa"
+linkopts = ""
Added: trunk/projects/ocaml-deblib/debian/changelog
===================================================================
--- trunk/projects/ocaml-deblib/debian/changelog 2005-11-27 10:45:15 UTC (rev 2157)
+++ trunk/projects/ocaml-deblib/debian/changelog 2005-11-27 11:11:19 UTC (rev 2158)
@@ -0,0 +1,8 @@
+ocaml-deblib (0.0.1) unstable; urgency=low
+
+ [ Stefano Zacchiroli ]
+
+ * First packaged version
+
+ -- Debian OCaml Maintainers <debian-ocaml-maint at debian.org> Wed, 23 Nov 2005 18:14:30 +0100
+
Added: trunk/projects/ocaml-deblib/debian/compat
===================================================================
--- trunk/projects/ocaml-deblib/debian/compat 2005-11-27 10:45:15 UTC (rev 2157)
+++ trunk/projects/ocaml-deblib/debian/compat 2005-11-27 11:11:19 UTC (rev 2158)
@@ -0,0 +1 @@
+4
Added: trunk/projects/ocaml-deblib/debian/control
===================================================================
--- trunk/projects/ocaml-deblib/debian/control 2005-11-27 10:45:15 UTC (rev 2157)
+++ trunk/projects/ocaml-deblib/debian/control 2005-11-27 11:11:19 UTC (rev 2158)
@@ -0,0 +1,18 @@
+Source: ocaml-deblib
+Section: devel
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders: Mike Furr <mfurr at debian.org>, Stefano Zacchiroli <zack at debian.org>
+Build-Depends: debhelper (>= 4.1.0), ocaml-nox (>= 3.08.3), ocaml-findlib, cdbs
+Standards-Version: 3.6.2
+
+Package: libdeblib-ocaml-dev
+Architecture: any
+Section: libdevel
+Depends: ocaml-nox-${F:OCamlABI}, ocaml-findlib, ${misc:Depends}
+Description: OCaml library for handling Debian Sources/Packages file
+ Small library for interacting with Debian Packages/Sources
+ files. It includes RFC822 parsing functions, some sanity
+ syntactic sanity check, types representing single source and
+ binary packages, and a policy compliant version comparison
+ function.
Added: trunk/projects/ocaml-deblib/debian/control.in
===================================================================
--- trunk/projects/ocaml-deblib/debian/control.in 2005-11-27 10:45:15 UTC (rev 2157)
+++ trunk/projects/ocaml-deblib/debian/control.in 2005-11-27 11:11:19 UTC (rev 2158)
@@ -0,0 +1,18 @@
+Source: ocaml-deblib
+Section: devel
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders: Mike Furr <mfurr at debian.org>, Stefano Zacchiroli <zack at debian.org>
+Build-Depends: debhelper (>= 4.1.0), ocaml-nox (>= @OCamlABI@), ocaml-findlib, cdbs
+Standards-Version: 3.6.2
+
+Package: libdeblib-ocaml-dev
+Architecture: any
+Section: libdevel
+Depends: ocaml-nox-${F:OCamlABI}, ocaml-findlib, ${misc:Depends}
+Description: OCaml library for handling Debian Sources/Packages file
+ Small library for interacting with Debian Packages/Sources
+ files. It includes RFC822 parsing functions, some sanity
+ syntactic sanity check, types representing single source and
+ binary packages, and a policy compliant version comparison
+ function.
Added: trunk/projects/ocaml-deblib/debian/copyright
===================================================================
--- trunk/projects/ocaml-deblib/debian/copyright 2005-11-27 10:45:15 UTC (rev 2157)
+++ trunk/projects/ocaml-deblib/debian/copyright 2005-11-27 11:11:19 UTC (rev 2158)
@@ -0,0 +1,28 @@
+This package was debianized by Stefano Zacchiroli <zack at debian.org> on
+Thu, 24 Nov 2005 00:12:41 +0100.
+
+It was available on the pkg-ocaml-maint alioth project subversion repository:
+ http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/projects/ocaml-deblib/
+
+Upstream Author:
+ Mike Furr <mfurr at debian.org>
+
+Copyright:
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library 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 library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
+ USA.
+
+ On a Debian GNU/Linux system, the GPL can be found as
+ /usr/share/common-licenses/GPL-2
Added: trunk/projects/ocaml-deblib/debian/libdeblib-ocaml-dev.install
===================================================================
--- trunk/projects/ocaml-deblib/debian/libdeblib-ocaml-dev.install 2005-11-27 10:45:15 UTC (rev 2157)
+++ trunk/projects/ocaml-deblib/debian/libdeblib-ocaml-dev.install 2005-11-27 11:11:19 UTC (rev 2158)
@@ -0,0 +1,6 @@
+*.a usr/lib/ocaml/3.08.3/deblib/
+*.cma usr/lib/ocaml/3.08.3/deblib/
+*.cmi usr/lib/ocaml/3.08.3/deblib/
+*.cmxa usr/lib/ocaml/3.08.3/deblib/
+META usr/lib/ocaml/3.08.3/deblib/
+*.mli usr/lib/ocaml/3.08.3/deblib/
Added: trunk/projects/ocaml-deblib/debian/libdeblib-ocaml-dev.install.in
===================================================================
--- trunk/projects/ocaml-deblib/debian/libdeblib-ocaml-dev.install.in 2005-11-27 10:45:15 UTC (rev 2157)
+++ trunk/projects/ocaml-deblib/debian/libdeblib-ocaml-dev.install.in 2005-11-27 11:11:19 UTC (rev 2158)
@@ -0,0 +1,6 @@
+*.a usr/lib/ocaml/@OCamlABI@/deblib/
+*.cma usr/lib/ocaml/@OCamlABI@/deblib/
+*.cmi usr/lib/ocaml/@OCamlABI@/deblib/
+*.cmxa usr/lib/ocaml/@OCamlABI@/deblib/
+META usr/lib/ocaml/@OCamlABI@/deblib/
+*.mli usr/lib/ocaml/@OCamlABI@/deblib/
Added: trunk/projects/ocaml-deblib/debian/rules
===================================================================
--- trunk/projects/ocaml-deblib/debian/rules 2005-11-27 10:45:15 UTC (rev 2157)
+++ trunk/projects/ocaml-deblib/debian/rules 2005-11-27 11:11:19 UTC (rev 2158)
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+OCAMLABI := $(shell ocamlc -version)
+OCAMLLIBDIR := $(shell ocamlc -where)
+OFILES := $(patsubst %.in,%,$(shell ls debian/*.in))
+HAVE_OCAMLOPT := $(shell test -x /usr/bin/ocamlopt && echo "yes")
+DESTDIR := $(CURDIR)/debian/tmp$(OCAMLLIBDIR)
+DOCDIR = $(CURDIR)/debian/doc/html
+DEB_DH_GENCONTROL_ARGS = -- -VF:OCamlABI="$(OCAMLABI)"
+
+ifeq ($(HAVE_OCAMLOPT),yes)
+ DEB_MAKE_BUILD_TARGET = deblib.cma deblib.cmxa
+else
+ DEB_MAKE_BUILD_TARGET = deblib.cma NATIVE_ENABLED=false
+endif
+common-build-arch::
+ omake $(DEB_MAKE_BUILD_TARGET)
+clean::
+ omake clean
+ rm -f *.annot
+
+ocamlinit:
+ for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done
Property changes on: trunk/projects/ocaml-deblib/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Modified: trunk/projects/ocaml-deblib/deblib_822Lexer.ml
===================================================================
--- trunk/projects/ocaml-deblib/deblib_822Lexer.ml 2005-11-27 10:45:15 UTC (rev 2157)
+++ trunk/projects/ocaml-deblib/deblib_822Lexer.ml 2005-11-27 11:11:19 UTC (rev 2158)
@@ -5,24 +5,24 @@
# 6 "deblib_822Lexer.ml"
let __ocaml_lex_tables = {
Lexing.lex_base =
- "\000\000\252\255\253\255\002\000\004\000\006\000\008\000\010\000\
- \010\000\011\000\013\000";
+ "\000\000\252\255\002\000\004\000\253\255\005\000\007\000\009\000\
+ \011\000\012\000\013\000";
Lexing.lex_backtrk =
- "\255\255\255\255\255\255\004\000\004\000\255\255\000\000\255\255\
- \000\000\001\000\001\000";
+ "\255\255\255\255\004\000\004\000\255\255\001\000\001\000\255\255\
+ \255\255\000\000\000\000";
Lexing.lex_default =
- "\004\000\000\000\000\000\009\000\005\000\005\000\008\000\255\255\
- \008\000\009\000\009\000";
+ "\002\000\000\000\007\000\005\000\000\000\005\000\005\000\007\000\
+ \255\255\010\000\010\000";
Lexing.lex_trans =
"\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
- \000\000\003\000\002\000\010\000\002\000\255\255\255\255\007\000\
- \255\255\006\000\255\255\007\000\255\255\255\255\010\000\002\000\
+ \000\000\003\000\004\000\255\255\255\255\006\000\004\000\255\255\
+ \006\000\004\000\008\000\255\255\008\000\009\000\255\255\255\255\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
- \003\000\000\000\010\000\000\000\000\000\000\000\000\000\000\000\
- \006\000\000\000\007\000\000\000\000\000\010\000\000\000\000\000\
+ \003\000\000\000\000\000\000\000\006\000\000\000\000\000\006\000\
+ \000\000\000\000\000\000\008\000\009\000\000\000\000\000\000\000\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
- \000\000\000\000\000\000\000\000\000\000\000\000\255\255\000\000\
- \006\000\000\000\000\000\000\000\006\000\000\000\000\000\000\000\
+ \000\000\000\000\000\000\000\000\255\255\000\000\000\000\000\000\
+ \000\000\000\000\000\000\009\000\000\000\009\000\000\000\000\000\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
@@ -46,18 +46,18 @@
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
- \001\000\000\000\255\255\000\000\255\255\000\000\255\255\000\000\
- \255\255\000\000\255\255\255\255\000\000\255\255";
+ \001\000\000\000\255\255\000\000\255\255\255\255\000\000\255\255\
+ \000\000\255\255\000\000\000\000\255\255\255\255";
Lexing.lex_check =
"\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
- \255\255\000\000\000\000\003\000\003\000\004\000\004\000\005\000\
- \005\000\006\000\006\000\007\000\008\000\009\000\010\000\010\000\
+ \255\255\000\000\000\000\002\000\002\000\003\000\003\000\005\000\
+ \006\000\006\000\007\000\007\000\008\000\009\000\009\000\010\000\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
- \000\000\255\255\003\000\255\255\255\255\255\255\255\255\255\255\
- \006\000\255\255\007\000\255\255\255\255\010\000\255\255\255\255\
+ \000\000\255\255\255\255\255\255\003\000\255\255\255\255\006\000\
+ \255\255\255\255\255\255\008\000\009\000\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
- \255\255\255\255\255\255\255\255\255\255\255\255\004\000\255\255\
- \005\000\255\255\255\255\255\255\007\000\255\255\255\255\255\255\
+ \255\255\255\255\255\255\255\255\002\000\255\255\255\255\255\255\
+ \255\255\255\255\255\255\007\000\255\255\008\000\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
@@ -81,26 +81,26 @@
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
- \000\000\255\255\003\000\255\255\004\000\255\255\005\000\255\255\
- \006\000\255\255\008\000\009\000\255\255\010\000";
+ \000\000\255\255\002\000\255\255\003\000\005\000\255\255\006\000\
+ \255\255\007\000\255\255\255\255\009\000\010\000";
Lexing.lex_base_code =
- "\000\000\000\000\000\000\000\000\000\000\002\000\004\000\001\000\
- \005\000\000\000\000\000";
+ "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\002\000\
+ \001\000\004\000\005\000";
Lexing.lex_backtrk_code =
- "\000\000\000\000\000\000\000\000\000\000\000\000\009\000\000\000\
- \009\000\000\000\000\000";
+ "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
+ \000\000\014\000\014\000";
Lexing.lex_default_code =
- "\000\000\000\000\000\000\000\000\001\000\001\000\016\000\000\000\
- \016\000\000\000\000\000";
+ "\000\000\000\000\001\000\000\000\000\000\000\000\000\000\001\000\
+ \000\000\021\000\021\000";
Lexing.lex_trans_code =
"\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
- \000\000\000\000\000\000\000\000\000\000\004\000\000\000\000\000\
+ \000\000\000\000\000\000\000\000\000\000\009\000\000\000\000\000\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
- \000\000\000\000\000\000\000\000\004\000\000\000\000\000\000\000\
+ \000\000\000\000\000\000\000\000\009\000\000\000\000\000\000\000\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
- \000\000\000\000\000\000\004\000\004\000\000\000\000\000\000\000\
+ \000\000\000\000\000\000\009\000\004\000\000\000\000\000\000\000\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
@@ -128,13 +128,13 @@
\000\000\000\000\000\000\000\000\000\000\000\000";
Lexing.lex_check_code =
"\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
- \255\255\004\000\004\000\005\000\005\000\006\000\006\000\008\000\
+ \255\255\002\000\002\000\007\000\007\000\009\000\009\000\010\000\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
- \255\255\255\255\255\255\255\255\006\000\255\255\255\255\255\255\
+ \255\255\255\255\255\255\255\255\009\000\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
- \255\255\255\255\004\000\007\000\005\000\255\255\255\255\255\255\
+ \255\255\255\255\002\000\008\000\007\000\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
@@ -159,10 +159,10 @@
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
- \004\000\255\255\005\000\255\255\006\000\008\000";
+ \002\000\255\255\007\000\255\255\009\000\010\000";
Lexing.lex_code =
- "\255\003\255\255\005\255\004\255\255\001\005\002\004\000\003\255\
- \004\255\255";
+ "\255\003\255\255\005\255\004\255\255\004\255\005\255\255\000\003\
+ \002\005\001\004\255\005\255\255";
}
let rec next lexbuf =
Modified: trunk/projects/ocaml-deblib/deblib_822Parser.ml
===================================================================
--- trunk/projects/ocaml-deblib/deblib_822Parser.ml 2005-11-27 10:45:15 UTC (rev 2157)
+++ trunk/projects/ocaml-deblib/deblib_822Parser.ml 2005-11-27 11:11:19 UTC (rev 2158)
@@ -69,29 +69,29 @@
let yyact = [|
(fun _ -> failwith "parser")
-; (fun __caml_parser_env ->
- let _1 = (Parsing.peek_val __caml_parser_env 1 : 'Stanzas) in
+; (fun parser_env ->
+ let _1 = (peek_val parser_env 1 : 'Stanzas) in
Obj.repr(
# 19 "deblib_822Parser.mly"
(_1)
# 78 "deblib_822Parser.ml"
: (string,string) Hashtbl.t list))
-; (fun __caml_parser_env ->
+; (fun parser_env ->
Obj.repr(
# 22 "deblib_822Parser.mly"
( [] )
# 84 "deblib_822Parser.ml"
: 'Stanzas))
-; (fun __caml_parser_env ->
- let _1 = (Parsing.peek_val __caml_parser_env 1 : 'Stanza) in
- let _2 = (Parsing.peek_val __caml_parser_env 0 : 'Stanzas) in
+; (fun parser_env ->
+ let _1 = (peek_val parser_env 1 : 'Stanza) in
+ let _2 = (peek_val parser_env 0 : 'Stanzas) in
Obj.repr(
# 23 "deblib_822Parser.mly"
( _1 :: _2 )
# 92 "deblib_822Parser.ml"
: 'Stanzas))
-; (fun __caml_parser_env ->
- let _1 = (Parsing.peek_val __caml_parser_env 1 : 'Fields) in
+; (fun parser_env ->
+ let _1 = (peek_val parser_env 1 : 'Fields) in
Obj.repr(
# 27 "deblib_822Parser.mly"
( let old = !tbl in
@@ -100,23 +100,23 @@
)
# 102 "deblib_822Parser.ml"
: 'Stanza))
-; (fun __caml_parser_env ->
- let _1 = (Parsing.peek_val __caml_parser_env 1 : 'SingleField) in
- let _2 = (Parsing.peek_val __caml_parser_env 0 : 'Fields) in
+; (fun parser_env ->
+ let _1 = (peek_val parser_env 1 : 'SingleField) in
+ let _2 = (peek_val parser_env 0 : 'Fields) in
Obj.repr(
# 33 "deblib_822Parser.mly"
()
# 110 "deblib_822Parser.ml"
: 'Fields))
-; (fun __caml_parser_env ->
- let _1 = (Parsing.peek_val __caml_parser_env 0 : 'SingleField) in
+; (fun parser_env ->
+ let _1 = (peek_val parser_env 0 : 'SingleField) in
Obj.repr(
# 34 "deblib_822Parser.mly"
()
# 117 "deblib_822Parser.ml"
: 'Fields))
-; (fun __caml_parser_env ->
- let _1 = (Parsing.peek_val __caml_parser_env 1 : string*string) in
+; (fun parser_env ->
+ let _1 = (peek_val parser_env 1 : string*string) in
Obj.repr(
# 37 "deblib_822Parser.mly"
(
@@ -127,9 +127,9 @@
)
# 129 "deblib_822Parser.ml"
: 'SingleField))
-; (fun __caml_parser_env ->
- let _1 = (Parsing.peek_val __caml_parser_env 2 : string*string) in
- let _3 = (Parsing.peek_val __caml_parser_env 0 : 'Rest) in
+; (fun parser_env ->
+ let _1 = (peek_val parser_env 2 : string*string) in
+ let _3 = (peek_val parser_env 0 : 'Rest) in
Obj.repr(
# 44 "deblib_822Parser.mly"
(
@@ -140,40 +140,40 @@
)
# 142 "deblib_822Parser.ml"
: 'SingleField))
-; (fun __caml_parser_env ->
- let _1 = (Parsing.peek_val __caml_parser_env 1 : string) in
+; (fun parser_env ->
+ let _1 = (peek_val parser_env 1 : string) in
Obj.repr(
# 52 "deblib_822Parser.mly"
( _1 )
# 149 "deblib_822Parser.ml"
: 'Rest))
-; (fun __caml_parser_env ->
- let _1 = (Parsing.peek_val __caml_parser_env 2 : string) in
- let _3 = (Parsing.peek_val __caml_parser_env 0 : 'Rest) in
+; (fun parser_env ->
+ let _1 = (peek_val parser_env 2 : string) in
+ let _3 = (peek_val parser_env 0 : 'Rest) in
Obj.repr(
# 53 "deblib_822Parser.mly"
( _1 ^ _3 )
# 157 "deblib_822Parser.ml"
: 'Rest))
(* Entry main *)
-; (fun __caml_parser_env -> raise (Parsing.YYexit (Parsing.peek_val __caml_parser_env 0)))
+; (fun parser_env -> raise (YYexit (peek_val parser_env 0)))
|]
let yytables =
- { Parsing.actions=yyact;
- Parsing.transl_const=yytransl_const;
- Parsing.transl_block=yytransl_block;
- Parsing.lhs=yylhs;
- Parsing.len=yylen;
- Parsing.defred=yydefred;
- Parsing.dgoto=yydgoto;
- Parsing.sindex=yysindex;
- Parsing.rindex=yyrindex;
- Parsing.gindex=yygindex;
- Parsing.tablesize=yytablesize;
- Parsing.table=yytable;
- Parsing.check=yycheck;
- Parsing.error_function=parse_error;
- Parsing.names_const=yynames_const;
- Parsing.names_block=yynames_block }
+ { actions=yyact;
+ transl_const=yytransl_const;
+ transl_block=yytransl_block;
+ lhs=yylhs;
+ len=yylen;
+ defred=yydefred;
+ dgoto=yydgoto;
+ sindex=yysindex;
+ rindex=yyrindex;
+ gindex=yygindex;
+ tablesize=yytablesize;
+ table=yytable;
+ check=yycheck;
+ error_function=parse_error;
+ names_const=yynames_const;
+ names_block=yynames_block }
let main (lexfun : Lexing.lexbuf -> token) (lexbuf : Lexing.lexbuf) =
- (Parsing.yyparse yytables 1 lexfun lexbuf : (string,string) Hashtbl.t list)
+ (yyparse yytables 1 lexfun lexbuf : (string,string) Hashtbl.t list)
Added: trunk/projects/ocaml-deblib/deblib_Utils.mli
===================================================================
--- trunk/projects/ocaml-deblib/deblib_Utils.mli 2005-11-27 10:45:15 UTC (rev 2157)
+++ trunk/projects/ocaml-deblib/deblib_Utils.mli 2005-11-27 11:11:19 UTC (rev 2158)
@@ -0,0 +1,19 @@
+
+val release_archs : string list
+
+val parse822 : string -> (string, string) Hashtbl.t list
+
+val bin_pkg_of_stanza :
+ (string, string) Hashtbl.t -> Deblib_Types.binary_package
+
+val src_pkg_of_stanza :
+ (string, string) Hashtbl.t -> Deblib_Types.source_package
+
+val src_tbl_of_stanza_list :
+ (string, string) Hashtbl.t list ->
+ (string, Deblib_Types.source_package) Hashtbl.t
+
+val bin_tbl_of_stanza_list :
+ (string, string) Hashtbl.t list ->
+ (string, Deblib_Types.binary_package) Hashtbl.t
+
More information about the Pkg-ocaml-maint-commits
mailing list