expr.l (3e21a28a01e227726456a51933ed004c2df31850) | expr.l (ff1a12f962dff5b490c5ce1c2c4bcd0bf3bf517d) |
---|---|
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" --- 97 unchanged lines hidden (view full) --- 106if { return IF; } 107else { return ELSE; } 108#smt_on { return SMT_ON; } 109{number} { return value(yyscanner); } 110{symbol} { return str(yyscanner, ID, sctx->runtime); } 111"|" { return '|'; } 112"^" { return '^'; } 113"&" { return '&'; } | 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" --- 97 unchanged lines hidden (view full) --- 106if { return IF; } 107else { return ELSE; } 108#smt_on { return SMT_ON; } 109{number} { return value(yyscanner); } 110{symbol} { return str(yyscanner, ID, sctx->runtime); } 111"|" { return '|'; } 112"^" { return '^'; } 113"&" { return '&'; } |
114"<" { return '<'; } 115">" { return '>'; } |
|
114"-" { return '-'; } 115"+" { return '+'; } 116"*" { return '*'; } 117"/" { return '/'; } 118"%" { return '%'; } 119"(" { return '('; } 120")" { return ')'; } 121"," { return ','; } 122. { } 123%% 124 125int expr_wrap(void *scanner __maybe_unused) 126{ 127 return 1; 128} | 116"-" { return '-'; } 117"+" { return '+'; } 118"*" { return '*'; } 119"/" { return '/'; } 120"%" { return '%'; } 121"(" { return '('; } 122")" { return ')'; } 123"," { return ','; } 124. { } 125%% 126 127int expr_wrap(void *scanner __maybe_unused) 128{ 129 return 1; 130} |