summaryrefslogtreecommitdiffstats
path: root/llvm/utils/Burg/operator.c
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2005-04-22 04:13:13 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2005-04-22 04:13:13 +0000
commit88e7b7288ae9cb23dc85341a520062e7903ba479 (patch)
treedf98b71efed67e449ae4bccbe6740baf74b47c75 /llvm/utils/Burg/operator.c
parent5191b4b2d02f2f3c2d3f496e0b822ebab84e0781 (diff)
downloadbcm5719-llvm-88e7b7288ae9cb23dc85341a520062e7903ba479.tar.gz
bcm5719-llvm-88e7b7288ae9cb23dc85341a520062e7903ba479.zip
Eliminate tabs and trailing spaces
llvm-svn: 21441
Diffstat (limited to 'llvm/utils/Burg/operator.c')
-rw-r--r--llvm/utils/Burg/operator.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/llvm/utils/Burg/operator.c b/llvm/utils/Burg/operator.c
index a6df9e304df..a37bbe15cdb 100644
--- a/llvm/utils/Burg/operator.c
+++ b/llvm/utils/Burg/operator.c
@@ -11,38 +11,38 @@ List leaves;
Operator
newOperator(name, num, arity) char *name; OperatorNum num; ArityNum arity;
{
- Operator op;
+ Operator op;
- assert(arity <= MAX_ARITY);
- op = (Operator) zalloc(sizeof(struct operator));
- assert(op);
- op->name = name;
- op->num = num;
- op->arity = arity;
+ assert(arity <= MAX_ARITY);
+ op = (Operator) zalloc(sizeof(struct operator));
+ assert(op);
+ op->name = name;
+ op->num = num;
+ op->arity = arity;
- operators = newList(op, operators);
+ operators = newList(op, operators);
- return op;
+ return op;
}
void
dumpOperator_s(op) Operator op;
{
- printf("Op: %s(%d)=%d\n", op->name, op->arity, op->num);
+ printf("Op: %s(%d)=%d\n", op->name, op->arity, op->num);
}
void
dumpOperator(op, full) Operator op; int full;
{
- dumpOperator_s(op);
- if (full) {
- dumpTable(op->table, 0);
- }
+ dumpOperator_s(op);
+ if (full) {
+ dumpTable(op->table, 0);
+ }
}
void
dumpOperator_l(op) Operator op;
{
- dumpOperator(op, 1);
+ dumpOperator(op, 1);
}
OpenPOWER on IntegriCloud