Skip to content

Commit

Permalink
perf expr: Fix copy/paste mistake
Browse files Browse the repository at this point in the history
Copy/paste leftover from recent refactor.

Fixes: 26226a9 ("perf expr: Move expr lexer to flex")
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Kajol Jain <kjain@linux.ibm.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20200315155609.603948-1-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
  • Loading branch information
Jiri Olsa authored and Arnaldo Carvalho de Melo committed Mar 17, 2020
1 parent c3b1064 commit 59a08b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/perf/util/expr.l
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ symbol {spec}*{sym}*{spec}*{sym}*
{
int start_token;

start_token = parse_events_get_extra(yyscanner);
start_token = expr_get_extra(yyscanner);

if (start_token) {
parse_events_set_extra(NULL, yyscanner);
expr_set_extra(NULL, yyscanner);
return start_token;
}
}
Expand Down

0 comments on commit 59a08b4

Please sign in to comment.