mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
convert ASCII TABs to ASCII SPACEs
Converted all ASCII tabs to ASCII spaces using a 8 character tab stop, for all files, except for all Makefiles (plus rpm.mk). The `git diff -w` reports no changes.
This commit is contained in:
36
symbol.h
36
symbol.h
@@ -9,7 +9,7 @@
|
||||
*
|
||||
* Calc 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 Lesser General
|
||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
|
||||
* Public License for more details.
|
||||
*
|
||||
* A copy of version 2.1 of the GNU Lesser General Public License is
|
||||
@@ -17,10 +17,10 @@
|
||||
* received a copy with calc; if not, write to Free Software Foundation, Inc.
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*
|
||||
* Under source code control: 1990/02/15 01:48:37
|
||||
* File existed as early as: before 1990
|
||||
* Under source code control: 1990/02/15 01:48:37
|
||||
* File existed as early as: before 1990
|
||||
*
|
||||
* Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
|
||||
* Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
|
||||
*/
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#define INCLUDE_SYMBOL_H
|
||||
|
||||
|
||||
#if defined(CALC_SRC) /* if we are building from the calc source tree */
|
||||
#if defined(CALC_SRC) /* if we are building from the calc source tree */
|
||||
# include "zmath.h"
|
||||
#else
|
||||
# include <calc/zmath.h>
|
||||
@@ -38,24 +38,24 @@
|
||||
/*
|
||||
* Symbol Declarations.
|
||||
*/
|
||||
#define SYM_UNDEFINED 0 /* undefined symbol */
|
||||
#define SYM_PARAM 1 /* parameter symbol */
|
||||
#define SYM_LOCAL 2 /* local symbol */
|
||||
#define SYM_GLOBAL 3 /* global symbol */
|
||||
#define SYM_STATIC 4 /* static symbol */
|
||||
#define SYM_UNDEFINED 0 /* undefined symbol */
|
||||
#define SYM_PARAM 1 /* parameter symbol */
|
||||
#define SYM_LOCAL 2 /* local symbol */
|
||||
#define SYM_GLOBAL 3 /* global symbol */
|
||||
#define SYM_STATIC 4 /* static symbol */
|
||||
|
||||
#define SCOPE_GLOBAL 0 /* file scope level for global variables */
|
||||
#define SCOPE_STATIC 1 /* lowest file scope for static variables */
|
||||
#define SCOPE_GLOBAL 0 /* file scope level for global variables */
|
||||
#define SCOPE_STATIC 1 /* lowest file scope for static variables */
|
||||
|
||||
|
||||
typedef struct global GLOBAL;
|
||||
struct global {
|
||||
size_t g_len; /* length of symbol name */
|
||||
short g_filescope; /* file scope level of symbol (0 if global) */
|
||||
short g_funcscope; /* function scope level of symbol */
|
||||
char *g_name; /* global symbol name */
|
||||
VALUE g_value; /* global symbol value */
|
||||
GLOBAL *g_next; /* next symbol in hash chain */
|
||||
size_t g_len; /* length of symbol name */
|
||||
short g_filescope; /* file scope level of symbol (0 if global) */
|
||||
short g_funcscope; /* function scope level of symbol */
|
||||
char *g_name; /* global symbol name */
|
||||
VALUE g_value; /* global symbol value */
|
||||
GLOBAL *g_next; /* next symbol in hash chain */
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user