|
wavelength 1.0.0
|
#include <stdio.h>
Go to the source code of this file.
Enumerations | |
| enum | DataToken { kDataTokenEnd = 0 , kDataTokenFloat = 1 , kDataTokenInt = 2 , kDataTokenString = 3 , kDataTokenSymbol = 4 , kDataTokenOpen = 5 , kDataTokenClose = 6 , kDataTokenDefine = 7 , kDataTokenDefineEnd = 8 , kDataTokenInclude = 9 , kDataTokenMerge = 10 } |
| Tokens DataLex() reports. More... | |
Functions | |
| int | DataLex () |
| Scan the next token of the data file the parser reads. | |
Variables | |
| char * | g_pszDataLexText |
| The text of the token DataLex() reported last, terminated. | |
| int | g_nDataLexLength |
| The length of g_pszDataLexText. | |
| FILE * | g_pDataLexIn |
| The file the scanner reads when it starts, standard input. | |
| FILE * | g_pDataLexOut |
| The file the scanner would echo to, standard output. | |
| enum DataToken |
Tokens DataLex() reports.
The names are inferred.
| int DataLex | ( | ) |
Scan the next token of the data file the parser reads.
The scanner reads through DataInput() and advances g_nDataParseLineNumber at each newline. It skips white space and comments.
|
extern |
The text of the token DataLex() reported last, terminated.
|
extern |
The length of g_pszDataLexText.
|
extern |
The file the scanner reads when it starts, standard input.
|
extern |
The file the scanner would echo to, standard output.