From e233db6dc0dea414398d6a4db34bf5f1a3371a54 Mon Sep 17 00:00:00 2001 From: carl Date: Sun, 24 Feb 2019 01:15:23 +0800 Subject: [PATCH] * Convert spaces -> tabs to keep consistency with existing code. --- lang/pc/comp/LLlex.c | 4 ++-- lang/pc/comp/LLmessage.c | 6 +++--- lang/pc/comp/body.c | 10 +++++----- lang/pc/comp/casestat.xc | 8 ++++---- lang/pc/comp/chk_expr.c | 10 +++++----- lang/pc/comp/declar.g | 8 ++++---- lang/pc/comp/def.c | 6 +++--- lang/pc/comp/desig.c | 4 ++-- lang/pc/comp/enter.c | 4 ++-- lang/pc/comp/error.c | 6 +++--- lang/pc/comp/expression.g | 4 ++-- lang/pc/comp/label.c | 4 ++-- lang/pc/comp/lookup.c | 2 +- lang/pc/comp/main.c | 8 ++++---- lang/pc/comp/misc.c | 4 ++-- lang/pc/comp/node.c | 4 ++-- lang/pc/comp/options.c | 8 ++++---- lang/pc/comp/program.g | 4 ++-- lang/pc/comp/progs.c | 2 +- lang/pc/comp/readwrite.c | 12 ++++++------ lang/pc/comp/scope.c | 4 ++-- lang/pc/comp/statement.g | 14 +++++++------- lang/pc/comp/tmpvar.xc | 2 +- lang/pc/comp/tokenname.c | 4 ++-- lang/pc/comp/type.c | 8 ++++---- lang/pc/comp/typequiv.c | 4 ++-- 26 files changed, 77 insertions(+), 77 deletions(-) diff --git a/lang/pc/comp/LLlex.c b/lang/pc/comp/LLlex.c index 4cb24d47b..294a239ea 100644 --- a/lang/pc/comp/LLlex.c +++ b/lang/pc/comp/LLlex.c @@ -19,8 +19,8 @@ #include "input.h" #include "main.h" #include "type.h" -#include "error.h" -#include "ack_string.h" +#include "error.h" +#include "ack_string.h" diff --git a/lang/pc/comp/LLmessage.c b/lang/pc/comp/LLmessage.c index 21b3cceac..e18c4c4cc 100644 --- a/lang/pc/comp/LLmessage.c +++ b/lang/pc/comp/LLmessage.c @@ -14,10 +14,10 @@ #include "LLlex.h" #include "Lpars.h" #include "idf.h" -#include "node.h" +#include "node.h" #include "type.h" -#include "misc.h" -#include "error.h" +#include "misc.h" +#include "error.h" extern int expect_label; diff --git a/lang/pc/comp/body.c b/lang/pc/comp/body.c index 510c18343..81549deee 100644 --- a/lang/pc/comp/body.c +++ b/lang/pc/comp/body.c @@ -15,11 +15,11 @@ #include "node.h" #include "scope.h" #include "type.h" -#include "code.h" -#include "chk_expr.h" -#include "tmpvar.h" -#include "typequiv.h" -#include "error.h" +#include "code.h" +#include "chk_expr.h" +#include "tmpvar.h" +#include "typequiv.h" +#include "error.h" void MarkDef(register struct node *nd, unsigned short flags, int on) { diff --git a/lang/pc/comp/casestat.xc b/lang/pc/comp/casestat.xc index 71bc95d0b..a02d05314 100644 --- a/lang/pc/comp/casestat.xc +++ b/lang/pc/comp/casestat.xc @@ -12,10 +12,10 @@ #include "main.h" #include "node.h" #include "type.h" -#include "code.h" -#include "error.h" -#include "typequiv.h" -#include "casestat.h" +#include "code.h" +#include "error.h" +#include "typequiv.h" +#include "casestat.h" struct case_hdr { struct case_hdr *ch_next; /* in the free list */ diff --git a/lang/pc/comp/chk_expr.c b/lang/pc/comp/chk_expr.c index 6ce142525..2d1f1246d 100644 --- a/lang/pc/comp/chk_expr.c +++ b/lang/pc/comp/chk_expr.c @@ -25,11 +25,11 @@ #include "required.h" #include "scope.h" #include "type.h" -#include "typequiv.h" -#include "readwrite.h" -#include "body.h" -#include "cstoper.h" -#include "error.h" +#include "typequiv.h" +#include "readwrite.h" +#include "body.h" +#include "cstoper.h" +#include "error.h" static int ChkValue(register struct node *); static int ChkUnOper(register struct node *); diff --git a/lang/pc/comp/declar.g b/lang/pc/comp/declar.g index 64a7133fd..62ab8f801 100644 --- a/lang/pc/comp/declar.g +++ b/lang/pc/comp/declar.g @@ -21,10 +21,10 @@ #include "node.h" #include "scope.h" #include "type.h" -#include "code.h" -#include "error.h" -#include "label.h" -#include "enter.h" +#include "code.h" +#include "error.h" +#include "label.h" +#include "enter.h" #ifdef DBSYMTAB #include "stab.h" #endif diff --git a/lang/pc/comp/def.c b/lang/pc/comp/def.c index 823ee4b36..28e9e4c0d 100644 --- a/lang/pc/comp/def.c +++ b/lang/pc/comp/def.c @@ -15,10 +15,10 @@ #include "misc.h" #include "node.h" #include "scope.h" -#include "code.h" +#include "code.h" #include "type.h" -#include "lookup.h" -#include "error.h" +#include "lookup.h" +#include "error.h" struct def *MkDef(register struct idf *id, register struct scope *scope, long kind) diff --git a/lang/pc/comp/desig.c b/lang/pc/comp/desig.c index 3e88fd633..37a4f19bc 100644 --- a/lang/pc/comp/desig.c +++ b/lang/pc/comp/desig.c @@ -22,8 +22,8 @@ #include "node.h" #include "scope.h" #include "type.h" -#include "code.h" -#include "error.h" +#include "code.h" +#include "error.h" struct desig InitDesig = {DSG_INIT, 0, 0, NULLDEF, 0}; struct withdesig *WithDesigs; diff --git a/lang/pc/comp/enter.c b/lang/pc/comp/enter.c index f3fc578fa..8d117bb1d 100644 --- a/lang/pc/comp/enter.c +++ b/lang/pc/comp/enter.c @@ -14,8 +14,8 @@ #include "node.h" #include "scope.h" #include "type.h" -#include "progs.h" -#include "enter.h" +#include "progs.h" +#include "enter.h" #ifdef DBSYMTAB #include "stab.h" #endif diff --git a/lang/pc/comp/error.c b/lang/pc/comp/error.c index 768403b2d..6713c5d94 100644 --- a/lang/pc/comp/error.c +++ b/lang/pc/comp/error.c @@ -16,9 +16,9 @@ #include #include #include -#include -#include -#include "print.h" +#include +#include +#include "print.h" #include "system.h" #include "LLlex.h" diff --git a/lang/pc/comp/expression.g b/lang/pc/comp/expression.g index 25f79de0c..c2a4b6f29 100644 --- a/lang/pc/comp/expression.g +++ b/lang/pc/comp/expression.g @@ -16,8 +16,8 @@ #include "node.h" #include "scope.h" #include "type.h" -#include "code.h" -#include "error.h" +#include "code.h" +#include "error.h" } Constant(register struct node **pnd;) diff --git a/lang/pc/comp/label.c b/lang/pc/comp/label.c index e6e8def2e..9f65428c7 100644 --- a/lang/pc/comp/label.c +++ b/lang/pc/comp/label.c @@ -11,8 +11,8 @@ #include "node.h" #include "scope.h" #include "type.h" -#include "label.h" -#include "error.h" +#include "label.h" +#include "error.h" static void CodeLabel(register struct def *df, int local); diff --git a/lang/pc/comp/lookup.c b/lang/pc/comp/lookup.c index ea9ab976c..f99574aa0 100644 --- a/lang/pc/comp/lookup.c +++ b/lang/pc/comp/lookup.c @@ -13,7 +13,7 @@ #include "node.h" #include "scope.h" #include "type.h" -#include "lookup.h" +#include "lookup.h" void remove_def(register struct def *df) { diff --git a/lang/pc/comp/main.c b/lang/pc/comp/main.c index a7305e4cb..3ee5dc875 100644 --- a/lang/pc/comp/main.c +++ b/lang/pc/comp/main.c @@ -25,10 +25,10 @@ #include "tokenname.h" #include "type.h" #include "scope.h" -#include "cstoper.h" -#include "stab.h" -#include "options.h" -#include "error.h" +#include "cstoper.h" +#include "stab.h" +#include "options.h" +#include "error.h" char options[128]; char *ProgName; diff --git a/lang/pc/comp/misc.c b/lang/pc/comp/misc.c index 7f4f15079..9050fc44d 100644 --- a/lang/pc/comp/misc.c +++ b/lang/pc/comp/misc.c @@ -12,8 +12,8 @@ #include "main.h" #include "misc.h" #include "node.h" -#include "print.h" -#include "error.h" +#include "print.h" +#include "error.h" struct idf *gen_anon_idf(void) { diff --git a/lang/pc/comp/node.c b/lang/pc/comp/node.c index 46141505e..f57ddc217 100644 --- a/lang/pc/comp/node.c +++ b/lang/pc/comp/node.c @@ -6,12 +6,12 @@ #include #include #include -#include "print.h" +#include "print.h" #include "LLlex.h" #include "node.h" #include "type.h" -#include "error.h" +#include "error.h" struct node *MkNode(int class, struct node *left, struct node *right, struct token *token) { diff --git a/lang/pc/comp/options.c b/lang/pc/comp/options.c index 75df7c3ad..e7a1dd2a6 100644 --- a/lang/pc/comp/options.c +++ b/lang/pc/comp/options.c @@ -7,11 +7,11 @@ #include "class.h" #include "const.h" #include "main.h" -#include "LLlex.h" -#include "node.h" +#include "LLlex.h" +#include "node.h" #include "type.h" -#include "options.h" -#include "error.h" +#include "options.h" +#include "error.h" #define MINIDFSIZE 9 diff --git a/lang/pc/comp/program.g b/lang/pc/comp/program.g index e82113899..743a6b375 100644 --- a/lang/pc/comp/program.g +++ b/lang/pc/comp/program.g @@ -15,8 +15,8 @@ #include "main.h" #include "node.h" #include "scope.h" -#include "enter.h" -#include "progs.h" +#include "enter.h" +#include "progs.h" #ifdef DBSYMTAB #include "stab.h" #endif diff --git a/lang/pc/comp/progs.c b/lang/pc/comp/progs.c index 054cc680a..4c3cda8cb 100644 --- a/lang/pc/comp/progs.c +++ b/lang/pc/comp/progs.c @@ -4,7 +4,7 @@ #include #include -#include "progs.h" +#include "progs.h" #include "LLlex.h" #include "def.h" #include "main.h" diff --git a/lang/pc/comp/readwrite.c b/lang/pc/comp/readwrite.c index 2ede52b3d..24eb2bf7e 100644 --- a/lang/pc/comp/readwrite.c +++ b/lang/pc/comp/readwrite.c @@ -6,7 +6,7 @@ #include #include -#include "print.h" +#include "print.h" #include "LLlex.h" #include "def.h" #include "main.h" @@ -14,11 +14,11 @@ #include "node.h" #include "scope.h" #include "type.h" -#include "code.h" -#include "chk_expr.h" -#include "typequiv.h" -#include "error.h" -#include "readwrite.h" +#include "code.h" +#include "chk_expr.h" +#include "typequiv.h" +#include "error.h" +#include "readwrite.h" /* DEBUG */ diff --git a/lang/pc/comp/scope.c b/lang/pc/comp/scope.c index e02d18a3b..b0995e8cc 100644 --- a/lang/pc/comp/scope.c +++ b/lang/pc/comp/scope.c @@ -15,8 +15,8 @@ #include "node.h" #include "scope.h" #include "type.h" -#include "lookup.h" -#include "error.h" +#include "lookup.h" +#include "error.h" struct scope *GlobalScope, *PervasiveScope, *BlockScope; struct scopelist *CurrVis; diff --git a/lang/pc/comp/statement.g b/lang/pc/comp/statement.g index f11fefea6..8e747b62b 100644 --- a/lang/pc/comp/statement.g +++ b/lang/pc/comp/statement.g @@ -17,13 +17,13 @@ #include "node.h" #include "scope.h" #include "type.h" -#include "body.h" -#include "code.h" -#include "error.h" -#include "readwrite.h" -#include "casestat.h" -#include "tmpvar.h" -#include "label.h" +#include "body.h" +#include "code.h" +#include "error.h" +#include "readwrite.h" +#include "casestat.h" +#include "tmpvar.h" +#include "label.h" int slevel = 0; /* nesting level of statements */ } diff --git a/lang/pc/comp/tmpvar.xc b/lang/pc/comp/tmpvar.xc index 5ff5b39ca..60b79366f 100644 --- a/lang/pc/comp/tmpvar.xc +++ b/lang/pc/comp/tmpvar.xc @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include "def.h" #include "main.h" diff --git a/lang/pc/comp/tokenname.c b/lang/pc/comp/tokenname.c index 5f446ad12..063088f5d 100644 --- a/lang/pc/comp/tokenname.c +++ b/lang/pc/comp/tokenname.c @@ -1,11 +1,11 @@ /* T O K E N D E F I N I T I O N S */ -#include "parameters.h" +#include "parameters.h" #include "Lpars.h" #include "LLlex.h" #include "idf.h" #include "tokenname.h" -#include "error.h" +#include "error.h" /* To centralize the declaration of %tokens, their presence in this file is taken as their declaration. The Makefile will produce diff --git a/lang/pc/comp/type.c b/lang/pc/comp/type.c index 8b8eb17f6..512e76a13 100644 --- a/lang/pc/comp/type.c +++ b/lang/pc/comp/type.c @@ -11,16 +11,16 @@ #include "LLlex.h" #include "const.h" -#include "chk_expr.h" +#include "chk_expr.h" #include "def.h" #include "idf.h" #include "main.h" #include "node.h" #include "scope.h" -#include "lookup.h" +#include "lookup.h" #include "type.h" -#include "typequiv.h" -#include "error.h" +#include "typequiv.h" +#include "error.h" #ifdef DBSYMTAB #include "stab.h" #endif diff --git a/lang/pc/comp/typequiv.c b/lang/pc/comp/typequiv.c index 929b16878..5f02a6b38 100644 --- a/lang/pc/comp/typequiv.c +++ b/lang/pc/comp/typequiv.c @@ -14,8 +14,8 @@ #include "def.h" #include "node.h" #include "type.h" -#include "error.h" -#include "typequiv.h" +#include "error.h" +#include "typequiv.h" int TstTypeEquiv(register struct type *tp1, register struct type *tp2) { -- 2.34.1