/*****************************************************************************/
-/* Code */
+/* Code */
/*****************************************************************************/
char* L;
const char* Comment;
unsigned Line;
- unsigned Len;
+ unsigned Len;
long Val;
unsigned DVal;
int Sign;
++L;
}
- /* Remove trailing whitespace */
- Len = strlen (L);
- while (Len > 0 && IsSpace (L[Len-1])) {
- --Len;
- }
- L[Len] = '\0';
+ /* Remove trailing whitespace */
+ Len = strlen (L);
+ while (Len > 0 && IsSpace (L[Len-1])) {
+ --Len;
+ }
+ L[Len] = '\0';
/* If the line is empty or starts with a comment char, ignore it */
if (*L == '\0' || *L == CommentStart) {
} else if (*L == ':' && *++L == '=') {
++L;
} else {
- if (!IgnoreUnknown) {
- Error ("%s(%u): Missing `='", Filename, Line);
- }
- continue;
- }
+ if (!IgnoreUnknown) {
+ Error ("%s(%u): Missing `='", Filename, Line);
+ }
+ continue;
+ }
/* Allow white space once again */
L = SkipWhitespace (L);