1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-25 20:23:07 +03:00

Standard pgindent run for 8.1.

This commit is contained in:
Bruce Momjian
2005-10-15 02:49:52 +00:00
parent 790c01d280
commit 1dc3498251
770 changed files with 34334 additions and 32507 deletions

View File

@@ -28,7 +28,7 @@
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $PostgreSQL: pgsql/src/backend/regex/regc_nfa.c,v 1.3 2003/11/29 19:51:55 pgsql Exp $
* $PostgreSQL: pgsql/src/backend/regex/regc_nfa.c,v 1.4 2005/10/15 02:49:24 momjian Exp $
*
*
* One or two things that technically ought to be in here
@@ -218,8 +218,7 @@ freestate(struct nfa * nfa,
nfa->states = s->next;
}
s->prev = NULL;
s->next = nfa->free; /* don't delete it, put it on the free
* list */
s->next = nfa->free; /* don't delete it, put it on the free list */
nfa->free = s;
}
@@ -275,10 +274,10 @@ newarc(struct nfa * nfa,
a->from = from;
/*
* Put the new arc on the beginning, not the end, of the chains. Not
* only is this easier, it has the very useful side effect that
* deleting the most-recently-added arc is the cheapest case rather
* than the most expensive one.
* Put the new arc on the beginning, not the end, of the chains. Not only
* is this easier, it has the very useful side effect that deleting the
* most-recently-added arc is the cheapest case rather than the most
* expensive one.
*/
a->inchain = to->ins;
to->ins = a;
@@ -1155,8 +1154,7 @@ cleanup(struct nfa * nfa)
static void
markreachable(struct nfa * nfa,
struct state * s,
struct state * okay, /* consider only states with this
* mark */
struct state * okay, /* consider only states with this mark */
struct state * mark) /* the value to mark with */
{
struct arc *a;
@@ -1175,8 +1173,7 @@ markreachable(struct nfa * nfa,
static void
markcanreach(struct nfa * nfa,
struct state * s,
struct state * okay, /* consider only states with this
* mark */
struct state * okay, /* consider only states with this mark */
struct state * mark) /* the value to mark with */
{
struct arc *a;