projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perf expr: Add expr_ prefix for parse_ctx and parse_id
[linux-2.6-microblaze.git]
/
tools
/
perf
/
util
/
expr.y
diff --git
a/tools/perf/util/expr.y
b/tools/perf/util/expr.y
index
4720cbe
..
cd17486
100644
(file)
--- a/
tools/perf/util/expr.y
+++ b/
tools/perf/util/expr.y
@@
-15,7
+15,7
@@
%define api.pure full
%parse-param { double *final_val }
%define api.pure full
%parse-param { double *final_val }
-%parse-param { struct parse_ctx *ctx }
+%parse-param { struct
expr_
parse_ctx *ctx }
%parse-param {void *scanner}
%lex-param {void* scanner}
%parse-param {void *scanner}
%lex-param {void* scanner}
@@
-39,14
+39,14
@@
%{
static void expr_error(double *final_val __maybe_unused,
%{
static void expr_error(double *final_val __maybe_unused,
- struct parse_ctx *ctx __maybe_unused,
+ struct
expr_
parse_ctx *ctx __maybe_unused,
void *scanner,
const char *s)
{
pr_debug("%s\n", s);
}
void *scanner,
const char *s)
{
pr_debug("%s\n", s);
}
-static int lookup_id(struct parse_ctx *ctx, char *id, double *val)
+static int lookup_id(struct
expr_
parse_ctx *ctx, char *id, double *val)
{
int i;
{
int i;