PKGBUILDs/extra/cscope/cscope.patch
2009-10-09 21:23:22 -05:00

65 lines
1.3 KiB
Diff

--- cscope-15.4/src/egrep.y.orig 2002-11-30 08:11:02.000000000 +0100
+++ cscope-15.4/src/egrep.y 2002-11-30 08:22:13.000000000 +0100
@@ -113,45 +113,45 @@
%%
s: t
- ={ unary(FINAL, $1);
+ { unary(FINAL, $1);
line--;
}
;
t: b r
- ={ $$ = node(CAT, $1, $2); }
+ { $$ = node(CAT, $1, $2); }
| OR b r OR
- ={ $$ = node(CAT, $2, $3); }
+ { $$ = node(CAT, $2, $3); }
| OR b r
- ={ $$ = node(CAT, $2, $3); }
+ { $$ = node(CAT, $2, $3); }
| b r OR
- ={ $$ = node(CAT, $1, $2); }
+ { $$ = node(CAT, $1, $2); }
;
b:
- ={ $$ = enter(DOT);
+ { $$ = enter(DOT);
$$ = unary(STAR, $$); }
;
r: CHAR
- ={ $$ = enter($1); }
+ { $$ = enter($1); }
| DOT
- ={ $$ = enter(DOT); }
+ { $$ = enter(DOT); }
| CCL
- ={ $$ = cclenter(CCL); }
+ { $$ = cclenter(CCL); }
| NCCL
- ={ $$ = cclenter(NCCL); }
+ { $$ = cclenter(NCCL); }
;
r: r OR r
- ={ $$ = node(OR, $1, $3); }
+ { $$ = node(OR, $1, $3); }
| r r %prec CAT
- ={ $$ = node(CAT, $1, $2); }
+ { $$ = node(CAT, $1, $2); }
| r STAR
- ={ $$ = unary(STAR, $1); }
+ { $$ = unary(STAR, $1); }
| r PLUS
- ={ $$ = unary(PLUS, $1); }
+ { $$ = unary(PLUS, $1); }
| r QUEST
- ={ $$ = unary(QUEST, $1); }
+ { $$ = unary(QUEST, $1); }
| '(' r ')'
- ={ $$ = $2; }
+ { $$ = $2; }
| error
;