summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 17:03:48 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 17:03:48 +0000
commita18268780fc83b9f62575021b9503a322dbee9b4 (patch)
tree44715c86c04633daee4da917032763ae9d6a3455 /apt-pkg
parent89260e53ef025816a4aa1d53f23d6844f853657e (diff)
* Move comment for ListParser::ParseDepends into the ri...
Author: mdz Date: 2003-09-22 04:16:26 GMT * Move comment for ListParser::ParseDepends into the right place
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/deb/deblistparser.cc13
1 files changed, 7 insertions, 6 deletions
diff --git a/apt-pkg/deb/deblistparser.cc b/apt-pkg/deb/deblistparser.cc
index 64a2bad91..cf81690e2 100644
--- a/apt-pkg/deb/deblistparser.cc
+++ b/apt-pkg/deb/deblistparser.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: deblistparser.cc,v 1.28 2001/10/02 03:03:47 tausq Exp $
+// $Id: deblistparser.cc,v 1.29 2003/09/22 04:16:26 mdz Exp $
/* ######################################################################
Package Cache Generator - Generator for the cache structure.
@@ -268,11 +268,7 @@ bool debListParser::ParseStatus(pkgCache::PkgIterator Pkg,
return true;
}
- /*}}}*/
-// ListParser::ParseDepends - Parse a dependency element /*{{{*/
-// ---------------------------------------------------------------------
-/* This parses the dependency elements out of a standard string in place,
- bit by bit. */
+
const char *debListParser::ConvertRelation(const char *I,unsigned int &Op)
{
// Determine the operator
@@ -331,6 +327,11 @@ const char *debListParser::ConvertRelation(const char *I,unsigned int &Op)
return I;
}
+ /*}}}*/
+// ListParser::ParseDepends - Parse a dependency element /*{{{*/
+// ---------------------------------------------------------------------
+/* This parses the dependency elements out of a standard string in place,
+ bit by bit. */
const char *debListParser::ParseDepends(const char *Start,const char *Stop,
string &Package,string &Ver,
unsigned int &Op, bool ParseArchFlags)