tokenizer.l (a841e1ebe6ffc5da2bfe1237405d64baeed86ead) | tokenizer.l (4fff7a14aeff79b4a1d515b2ce6b323699ef5b66) |
---|---|
1%option nounput noinput 2%{ 3/* $OpenBSD: tokenizer.l,v 1.7 2010/03/22 20:40:44 espie Exp $ */ 4/* 5 * Copyright (c) 2004 Marc Espie <espie@cvs.openbsd.org> 6 * 7 * Permission to use, copy, modify, and distribute this software for any 8 * purpose with or without fee is hereby granted, provided that the above --- 43 unchanged lines hidden (view full) --- 52"<=" { return(LE); } 53">=" { return(GE); } 54"<<" { return(LSHIFT); } 55">>" { return(RSHIFT); } 56"==" { return(EQ); } 57"!=" { return(NE); } 58"&&" { return(LAND); } 59"||" { return(LOR); } | 1%option nounput noinput 2%{ 3/* $OpenBSD: tokenizer.l,v 1.7 2010/03/22 20:40:44 espie Exp $ */ 4/* 5 * Copyright (c) 2004 Marc Espie <espie@cvs.openbsd.org> 6 * 7 * Permission to use, copy, modify, and distribute this software for any 8 * purpose with or without fee is hereby granted, provided that the above --- 43 unchanged lines hidden (view full) --- 52"<=" { return(LE); } 53">=" { return(GE); } 54"<<" { return(LSHIFT); } 55">>" { return(RSHIFT); } 56"==" { return(EQ); } 57"!=" { return(NE); } 58"&&" { return(LAND); } 59"||" { return(LOR); } |
60"**" { if (mimic_gnu) { return (EXPONENT); } } |
|
60. { return yytext[0]; } 61%% 62 63int32_t 64number(void) 65{ 66 long l; 67 --- 44 unchanged lines hidden --- | 61. { return yytext[0]; } 62%% 63 64int32_t 65number(void) 66{ 67 long l; 68 --- 44 unchanged lines hidden --- |