expr.l (9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e) expr.l (4a4a9bf9075fbc753ab20f05347fd1482d4801e4)
1%option prefix="expr_"
2%option reentrant
3%option bison-bridge
4
5%{
6#include <linux/compiler.h>
7#include "expr.h"
8#include "expr-bison.h"

--- 99 unchanged lines hidden (view full) ---

108 struct expr_scanner_ctx *sctx = expr_get_extra(yyscanner);
109
110d_ratio { return D_RATIO; }
111max { return MAX; }
112min { return MIN; }
113if { return IF; }
114else { return ELSE; }
115source_count { return SOURCE_COUNT; }
1%option prefix="expr_"
2%option reentrant
3%option bison-bridge
4
5%{
6#include <linux/compiler.h>
7#include "expr.h"
8#include "expr-bison.h"

--- 99 unchanged lines hidden (view full) ---

108 struct expr_scanner_ctx *sctx = expr_get_extra(yyscanner);
109
110d_ratio { return D_RATIO; }
111max { return MAX; }
112min { return MIN; }
113if { return IF; }
114else { return ELSE; }
115source_count { return SOURCE_COUNT; }
116has_event { return HAS_EVENT; }
116{literal} { return literal(yyscanner, sctx); }
117{number} { return value(yyscanner); }
118{symbol} { return str(yyscanner, ID, sctx->runtime); }
119"|" { return '|'; }
120"^" { return '^'; }
121"&" { return '&'; }
122"<" { return '<'; }
123">" { return '>'; }

--- 15 unchanged lines hidden ---
117{literal} { return literal(yyscanner, sctx); }
118{number} { return value(yyscanner); }
119{symbol} { return str(yyscanner, ID, sctx->runtime); }
120"|" { return '|'; }
121"^" { return '^'; }
122"&" { return '&'; }
123"<" { return '<'; }
124">" { return '>'; }

--- 15 unchanged lines hidden ---