Qucs-core  0.0.18
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions | Variables
scan_netlist.l File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "logging.h"
#include "equation.h"
#include "check_netlist.h"
#include "tokens_netlist.h"

Go to the source code of this file.

Macros

#define strchr   index
 
#define strrchr   rindex
 

Functions

static double netlist_evaluate_scale (double val, char *scale)
 

Variables

WS[\t\n\r] SIMPLEID *[a-zA-Z_][a-zA-Z0-9_] POSTID[a-zA-Z0-9_] ID
 
< INITIAL >< INITIAL >
< INITIAL >< INITIAL > return 
InvalidCharacter
 
< COMMENT >< STR > r n
 
return Eol
 

Macro Definition Documentation

#define strchr   index
#define strrchr   rindex

Function Documentation

static double netlist_evaluate_scale ( double  val,
char *  scale 
)
static

Definition at line 529 of file scan_netlist.l.

Variable Documentation

return Eol

Definition at line 716 of file scan_netlist.l.

WS [ \t\n\r] SIMPLEID* [a-zA-Z_][a-zA-Z0-9_] POSTID [a-zA-Z0-9_] ID

Definition at line 581 of file scan_netlist.l.

<INITIAL><INITIAL><INITIAL><INITIAL> return InvalidCharacter
Initial value:
{
"line %d: syntax error, unrecognized character: `%s'\n",
netlist_lineno, netlist_text)
int netlist_lineno
Definition: parse_netlist.y:36
#define LOG_ERROR
Definition: logging.h:28
void logprint(int level, const char *format,...)
Definition: logging.c:37

Definition at line 698 of file scan_netlist.l.

<COMMENT><STR> r n
Initial value:
{
"line %d: syntax error, unterminated string constant\n",
int netlist_lineno
Definition: parse_netlist.y:36
#define LOG_ERROR
Definition: logging.h:28
void logprint(int level, const char *format,...)
Definition: logging.c:37

Definition at line 712 of file scan_netlist.l.