Skip to content

Commit 59a08b4

Browse files
olsajiriacmel
authored andcommitted
perf expr: Fix copy/paste mistake
Copy/paste leftover from recent refactor. Fixes: 26226a9 ("perf expr: Move expr lexer to flex") Signed-off-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Kajol Jain <[email protected]> Cc: Michael Petlan <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent c3b1064 commit 59a08b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/perf/util/expr.l

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ symbol {spec}*{sym}*{spec}*{sym}*
7979
{
8080
int start_token;
8181

82-
start_token = parse_events_get_extra(yyscanner);
82+
start_token = expr_get_extra(yyscanner);
8383

8484
if (start_token) {
85-
parse_events_set_extra(NULL, yyscanner);
85+
expr_set_extra(NULL, yyscanner);
8686
return start_token;
8787
}
8888
}

0 commit comments

Comments
 (0)