Qucs-core  0.0.18
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Macros | Functions | Variables
parse_touchstone.y File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "logging.h"
#include "complex.h"
#include "object.h"
#include "vector.h"
#include "dataset.h"
#include "strlist.h"
#include "check_touchstone.h"

Go to the source code of this file.

Data Structures

struct  touchstone_t


#define YYERROR_VERBOSE   42
#define YYDEBUG   1
#define YYMAXDEPTH   1000000


void touchstone_restart (FILE *)
int touchstone_parse (void)
int touchstone_error (const char *)
int touchstone_lex (void)
int touchstone_lex_destroy (void)
int touchstone_check (void)
void touchstone_init (void)
void touchstone_destroy (void)
touchstone_idents add ($1)
 free ($1)
 logprint (LOG_ERROR,"line %d: no trailing end-of-line found, ""continuing...\n", touchstone_lineno)


int touchstone_lineno
FILE * touchstone_in
__BEGIN_DECLS struct touchstone_t touchstone_options
name prefix
OptionLine __pad0__
touchstone_options resistance = $4
Eol OptionLine { }
OptionList __pad1__
Dataset __pad2__
Eol Dataset { }
DataLine __pad3__
Float Float Float Float Float

Macro Definition Documentation

#define YYDEBUG   1
#define YYERROR_VERBOSE   42
#define YYMAXDEPTH   1000000

Function Documentation

touchstone_idents add (   $1)
free (   $1)
logprint ( LOG_ERROR  ,
"line %d: no trailing end-of-line  found,
""continuing...\n ,
int touchstone_check ( void  )

Definition at line 420 of file check_touchstone.cpp.

void touchstone_destroy ( void  )

Definition at line 513 of file check_touchstone.cpp.

int touchstone_error ( const char *  error)

Definition at line 192 of file parse_touchstone.y.

void touchstone_init ( void  )

Definition at line 526 of file check_touchstone.cpp.

int touchstone_lex ( void  )
int touchstone_lex_destroy ( void  )
int touchstone_parse ( void  )
void touchstone_restart ( FILE *  )

Variable Documentation

OptionLine __pad0__

Definition at line 79 of file parse_touchstone.y.

OptionList __pad1__

Definition at line 91 of file parse_touchstone.y.

Dataset __pad2__

Definition at line 95 of file parse_touchstone.y.

DataLine __pad3__

Definition at line 114 of file parse_touchstone.y.

Initial value:
$1->setNext (touchstone_vector)
qucs::vector * touchstone_vector

Definition at line 102 of file parse_touchstone.y.

Eol Dataset { }

Definition at line 108 of file parse_touchstone.y.

Float Float
Initial value:
$$ = new vector ()

Definition at line 119 of file parse_touchstone.y.

Eol OptionLine { }

Definition at line 86 of file parse_touchstone.y.

name prefix
Initial value:
%token Float
%token Option
%token Eol
%union {
char * ident;
double f;
qucs::strlist * list;
%type <list> OptionList
%type <ident> Option
%type <f> Float
%type <v> DataLine Dataset
Eol OptionLine
RLC_Device Node Node Value MODEL_Ident PairList Eol
Definition: parse_spice.y:225
< INITIAL >< INITIAL >< INITIAL >< INITIAL > return InvalidCharacter
Definition: scan_netlist.l:698
Definition: parse_zvr.y:141
vcd scopes ident
Definition: parse_vcd.y:124
Float Float Float Float Float
Eol Dataset

Definition at line 52 of file parse_touchstone.y.

touchstone_options resistance = $4

Definition at line 80 of file parse_touchstone.y.

qucs::strlist* touchstone_idents

Definition at line 50 of file check_touchstone.cpp.

FILE* touchstone_in
int touchstone_lineno
__BEGIN_DECLS struct touchstone_t touchstone_options

Definition at line 55 of file check_touchstone.cpp.


Definition at line 83 of file parse_touchstone.y.