perf expr: Fix copy/paste mistake

Copy/paste leftover from recent refactor.

Fixes: 26226a9772 ("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>
This commit is contained in:
Jiri Olsa 2020-03-15 16:56:09 +01:00 committed by Arnaldo Carvalho de Melo
parent c3b10649a8
commit 59a08b4b3b

View File

@ -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;
}
}