Go to the source code of this file.
◆ SEG
◆ seg_scanner_finish()
void seg_scanner_finish |
( |
void |
| ) |
|
◆ seg_scanner_init()
void seg_scanner_init |
( |
const char * |
str | ) |
|
◆ seg_yyerror()
void seg_yyerror |
( |
SEG * |
result, |
|
|
struct Node * |
escontext, |
|
|
const char * |
message |
|
) |
| |
◆ seg_yylex()
◆ seg_yyparse()
int seg_yyparse |
( |
SEG * |
result, |
|
|
struct Node * |
escontext |
|
) |
| |
◆ significant_digits()
int significant_digits |
( |
const char * |
s | ) |
|
Definition at line 1064 of file seg.c.
1073 for (
c = *p; (
c ==
'0' ||
c ==
'+' ||
c ==
'-') &&
c != 0;
c = *(++p));
1076 for (
c = *p; (
c ==
'0' ||
c ==
'.') &&
c != 0;
c = *(++p))
1083 for (
c = *p, n = 0;
c != 0;
c = *(++p))
1085 if (!((
c >=
'0' &&
c <=
'9') || (
c ==
'.')))