Subject | Firebird Parser Problem |
---|---|
Author | Hans |
Post date | 2013-04-15T14:06:09Z |
Hi All.
Using Firebird.2.5.2.26539.
It may be present in other versions too,
I haven't tested that..
----------------------------------------------------------------------------
--------------------
CREATE PROCEDURE TEST
RETURNS (A INTEGER , B INTEGER )
AS
BEGIN
A = 1;
B = 10;
/* SOME COMMENT MISSING A COMMENT TERMINATOR
A = 2;
/* ANOTHER COMMENT */
B = 11;
SUSPEND;
END
----------------------------------------------------------------------------
-------------
Returns:
A = 1 and B = 11 instead of giving some error by the parser.
Can be difficult to find this coding error.
Best Regards
Hans
Using Firebird.2.5.2.26539.
It may be present in other versions too,
I haven't tested that..
----------------------------------------------------------------------------
--------------------
CREATE PROCEDURE TEST
RETURNS (A INTEGER , B INTEGER )
AS
BEGIN
A = 1;
B = 10;
/* SOME COMMENT MISSING A COMMENT TERMINATOR
A = 2;
/* ANOTHER COMMENT */
B = 11;
SUSPEND;
END
----------------------------------------------------------------------------
-------------
Returns:
A = 1 and B = 11 instead of giving some error by the parser.
Can be difficult to find this coding error.
Best Regards
Hans