#42 closed defect (fixed)
To compile a file without code
| Reported by: | rcsoto | Owned by: | danirus |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Kernel | Version: | head |
| Severity: | normal | Keywords: | |
| Cc: |
Description
When trying a file without code, gives an error.
Example:
FILE : file.tol
PURPOSE : File example
FUNCTIONS
The check syntax return:
"Fin de la expresión inesperado en línea 1 y columna 0:
LINEA
1 >
2 : FILE : file.tol
3 : PURPOSE : File example
4 :
5 :
6 :
7 :
8 : FUNCTIONS
9 :
10 :
"
I don´t know if it is an error. But it does not seem it.
Change History (3)
comment:1 Changed 22 years ago by
| Status: | new → assigned |
|---|
comment:2 Changed 22 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:3 Changed 19 years ago by
| bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000042 |
|---|
Note: See
TracTickets for help on using
tickets.

BFilter removes all comments from the original code and makes some
substitutions, returning a clean code to the parser.
The new behaviour implies that, when BParser receives an empty BText from
BFilter means that there's nothing to analyze, everything were comments.