|
From: | Hans-Bernhard Broeker |
Subject: | Re: [help-flex] problem "unexpected end of file" |
Date: | Mon, 04 Jul 2005 13:17:55 +0200 |
User-agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
DEBUF Xavier wrote:
the file look like that: (a very simple thing) %{ /*déclarations C*/ #include <stdio.h> int total = 0; int score = 0; %}
If the indentation present in your mail is also the one of the actual file, that's not a terribly big surprise. The separators between different parts of the les files and the %{ and %} braces have to be in the first column of the file.
C doesn't care much about indentation --- but lex does.
[Prev in Thread] | Current Thread | [Next in Thread] |