mirror of
https://github.com/postgres/postgres.git
synced 2025-08-27 07:42:10 +03:00
Remove tabs after spaces in C comments
This was not changed in HEAD, but will be done later as part of a pgindent run. Future pgindent runs will also do this. Report by Tom Lane Backpatch through all supported branches, but not HEAD
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* colorings of characters
|
||||
* This file is #included by regcomp.c.
|
||||
*
|
||||
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
|
||||
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
|
||||
*
|
||||
* Development of this software was funded, in part, by Cray Research Inc.,
|
||||
* UUNET Communications Services Inc., Sun Microsystems Inc., and Scriptics
|
||||
|
@@ -2,7 +2,7 @@
|
||||
* Utility functions for handling cvecs
|
||||
* This file is #included by regcomp.c.
|
||||
*
|
||||
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
|
||||
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
|
||||
*
|
||||
* Development of this software was funded, in part, by Cray Research Inc.,
|
||||
* UUNET Communications Services Inc., Sun Microsystems Inc., and Scriptics
|
||||
|
@@ -2,7 +2,7 @@
|
||||
* lexical analyzer
|
||||
* This file is #included by regcomp.c.
|
||||
*
|
||||
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
|
||||
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
|
||||
*
|
||||
* Development of this software was funded, in part, by Cray Research Inc.,
|
||||
* UUNET Communications Services Inc., Sun Microsystems Inc., and Scriptics
|
||||
|
@@ -30,7 +30,7 @@
|
||||
*
|
||||
* THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
|
||||
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
|
||||
* FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
|
||||
* IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
|
||||
* NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
|
||||
* MODIFICATIONS.
|
||||
@@ -38,7 +38,7 @@
|
||||
* GOVERNMENT USE: If you are acquiring this software on behalf of the
|
||||
* U.S. government, the Government shall have only "Restricted Rights"
|
||||
* in the software and related documentation as defined in the Federal
|
||||
* Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you
|
||||
* Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you
|
||||
* are acquiring the software on behalf of the Department of Defense, the
|
||||
* software shall be classified as "Commercial Computer Software" and the
|
||||
* Government shall have only "Restricted Rights" as defined in Clause
|
||||
@@ -707,7 +707,7 @@ allcases(struct vars * v, /* context */
|
||||
/*
|
||||
* cmp - chr-substring compare
|
||||
*
|
||||
* Backrefs need this. It should preferably be efficient.
|
||||
* Backrefs need this. It should preferably be efficient.
|
||||
* Note that it does not need to report anything except equal/unequal.
|
||||
* Note also that the length is exact, and the comparison should not
|
||||
* stop at embedded NULs!
|
||||
|
@@ -2,7 +2,7 @@
|
||||
* NFA utilities.
|
||||
* This file is #included by regcomp.c.
|
||||
*
|
||||
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
|
||||
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
|
||||
*
|
||||
* Development of this software was funded, in part, by Cray Research Inc.,
|
||||
* UUNET Communications Services Inc., Sun Microsystems Inc., and Scriptics
|
||||
@@ -1304,7 +1304,7 @@ fixempties(struct nfa * nfa,
|
||||
}
|
||||
|
||||
/*
|
||||
* And remove any states that have become useless. (This cleanup is not
|
||||
* And remove any states that have become useless. (This cleanup is not
|
||||
* very thorough, and would be even less so if we tried to combine it with
|
||||
* the previous step; but cleanup() will take care of anything we miss.)
|
||||
*/
|
||||
@@ -1372,7 +1372,7 @@ replaceempty(struct nfa * nfa,
|
||||
* non-EMPTY out-arcs), we must keep it so, so always push forward in that
|
||||
* case.
|
||||
*
|
||||
* The fan-out/fan-in comparison should count only non-EMPTY arcs. If
|
||||
* The fan-out/fan-in comparison should count only non-EMPTY arcs. If
|
||||
* "from" is doomed, we can skip counting "to"'s arcs, since we want to
|
||||
* force taking the copyins path in that case.
|
||||
*/
|
||||
|
@@ -23,7 +23,7 @@
|
||||
* several implementation strategies depending on the situation:
|
||||
*
|
||||
* 1. In C/POSIX collations, we use hard-wired code. We can't depend on
|
||||
* the <ctype.h> functions since those will obey LC_CTYPE. Note that these
|
||||
* the <ctype.h> functions since those will obey LC_CTYPE. Note that these
|
||||
* collations don't give a fig about multibyte characters.
|
||||
*
|
||||
* 2. In the "default" collation (which is supposed to obey LC_CTYPE):
|
||||
@@ -35,10 +35,10 @@
|
||||
*
|
||||
* 2b. In all other encodings, or on machines that lack <wctype.h>, we use
|
||||
* the <ctype.h> functions for pg_wchar values up to 255, and punt for values
|
||||
* above that. This is only 100% correct in single-byte encodings such as
|
||||
* LATINn. However, non-Unicode multibyte encodings are mostly Far Eastern
|
||||
* above that. This is only 100% correct in single-byte encodings such as
|
||||
* LATINn. However, non-Unicode multibyte encodings are mostly Far Eastern
|
||||
* character sets for which the properties being tested here aren't very
|
||||
* relevant for higher code values anyway. The difficulty with using the
|
||||
* relevant for higher code values anyway. The difficulty with using the
|
||||
* <wctype.h> functions with non-Unicode multibyte encodings is that we can
|
||||
* have no certainty that the platform's wchar_t representation matches
|
||||
* what we do in pg_wchar conversions.
|
||||
|
@@ -2,7 +2,7 @@
|
||||
* re_*comp and friends - compile REs
|
||||
* This file #includes several others (see the bottom).
|
||||
*
|
||||
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
|
||||
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
|
||||
*
|
||||
* Development of this software was funded, in part, by Cray Research Inc.,
|
||||
* UUNET Communications Services Inc., Sun Microsystems Inc., and Scriptics
|
||||
@@ -563,7 +563,7 @@ makesearch(struct vars * v,
|
||||
* constraints, often knowing when you were in the pre state tells you
|
||||
* little; it's the next state(s) that are informative. But some of them
|
||||
* may have other inarcs, i.e. it may be possible to make actual progress
|
||||
* and then return to one of them. We must de-optimize such cases,
|
||||
* and then return to one of them. We must de-optimize such cases,
|
||||
* splitting each such state into progress and no-progress states.
|
||||
*/
|
||||
|
||||
@@ -609,7 +609,7 @@ makesearch(struct vars * v,
|
||||
* parse - parse an RE
|
||||
*
|
||||
* This is actually just the top level, which parses a bunch of branches
|
||||
* tied together with '|'. They appear in the tree as the left children
|
||||
* tied together with '|'. They appear in the tree as the left children
|
||||
* of a chain of '|' subres.
|
||||
*/
|
||||
static struct subre *
|
||||
@@ -1335,7 +1335,7 @@ bracket(struct vars * v,
|
||||
/*
|
||||
* cbracket - handle complemented bracket expression
|
||||
* We do it by calling bracket() with dummy endpoints, and then complementing
|
||||
* the result. The alternative would be to invoke rainbow(), and then delete
|
||||
* the result. The alternative would be to invoke rainbow(), and then delete
|
||||
* arcs as the b.e. is seen... but that gets messy.
|
||||
*/
|
||||
static void
|
||||
|
@@ -2,7 +2,7 @@
|
||||
* DFA routines
|
||||
* This file is #included by regexec.c.
|
||||
*
|
||||
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
|
||||
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
|
||||
*
|
||||
* Development of this software was funded, in part, by Cray Research Inc.,
|
||||
* UUNET Communications Services Inc., Sun Microsystems Inc., and Scriptics
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* regerror - error-code expansion
|
||||
*
|
||||
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
|
||||
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
|
||||
*
|
||||
* Development of this software was funded, in part, by Cray Research Inc.,
|
||||
* UUNET Communications Services Inc., Sun Microsystems Inc., and Scriptics
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* re_*exec and friends - match REs
|
||||
*
|
||||
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
|
||||
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
|
||||
*
|
||||
* Development of this software was funded, in part, by Cray Research Inc.,
|
||||
* UUNET Communications Services Inc., Sun Microsystems Inc., and Scriptics
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* regfree - free an RE
|
||||
*
|
||||
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
|
||||
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
|
||||
*
|
||||
* Development of this software was funded, in part, by Cray Research Inc.,
|
||||
* UUNET Communications Services Inc., Sun Microsystems Inc., and Scriptics
|
||||
|
Reference in New Issue
Block a user