ruby: handle singleton method including ?!= in its name(sf.bug:364)
[geany-mirror.git] / tests / ctags / bug722501.sql
blobd3aad2cf42c308b265a6643edcfb9e33c35457ae
1 /*
2 The PL/SQL parser (v1.6) does not parse a standalone
3 procedure or function (i.e., not part of a package) when
4 the SQL is in the form
5 */
6 CREATE OR REPLACE PROCEDURE foo
7 AS /* or IS*/
8     BEGIN
9         DECLARE
10             l_foo NUMBER;
11         BEGIN
12             l_foo := 1;
13         END;
14     END; 
16 When this is processed the only tag reported is
17 Procedure foo. If you remove the line with AS, the
18 variable l_foo is seen, but then the procedure will not
19 compile in Oracle.
21 Functions seem to have similar problems in that the
22 parser will not see inside the function, but removing the
23 IS or AS does not remedy the problem for a function.