51 #include "tokens_touchstone.h"
60 EXPONENT [Ee][+-]?{DIGIT}+
62 FLOAT1 [+-]?{DIGIT}+{EXPONENT}
63 FLOAT2 [+-]?{DIGIT}*
"."{DIGIT}+({EXPONENT})?
67 %option yylineno noyywrap nounput
prefix=
"touchstone_"
71 <INITIAL>[Rr] {
return 'R'; }
72 <INITIAL>^# {
return '#'; }
78 touchstone_lval.ident = strdup (touchstone_text);
82 <INITIAL>({FLOAT1}|{FLOAT2}|{
INT}) {
83 touchstone_lval.f = strtod (touchstone_text, NULL);
93 "line %d: syntax error, unrecognized character: `%s'\n",
99 <COMMENT>
\r?
\n { BEGIN(INITIAL);
return Eol; }
RLC_Device Node Node Value MODEL_Ident PairList Eol
< INITIAL >< INITIAL >< INITIAL >< INITIAL > return InvalidCharacter
WS[\t\n\r] SIMPLEID *[a-zA-Z_][a-zA-Z0-9_] POSTID[a-zA-Z0-9_] ID
void logprint(int level, const char *format,...)
#define Z0
Wave impedance in vacuum ( )