diff options
author | Michele Calgaro <[email protected]> | 2022-07-10 00:23:24 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2022-07-10 00:23:24 +0900 |
commit | 5bb4d4359a52e9caf331f6001b953dc553df64df (patch) | |
tree | 0e0ef61d88a17bf3fd53ee7bc32d3ec4b765b545 /indenters/example.sql | |
download | universal-indent-gui-tqt-5bb4d4359a52e9caf331f6001b953dc553df64df.tar.gz universal-indent-gui-tqt-5bb4d4359a52e9caf331f6001b953dc553df64df.zip |
Initial import of UniversalIndentGUI 1.2.0 from Debian snapshot
(https://snapshot.debian.org/package/universalindentgui/1.2.0-1.1).
The code is available under GPL2 licence.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'indenters/example.sql')
-rwxr-xr-x | indenters/example.sql | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/indenters/example.sql b/indenters/example.sql new file mode 100755 index 0000000..b7736b5 --- /dev/null +++ b/indenters/example.sql @@ -0,0 +1,37 @@ +CREATE PACKAGE BODY b IS
+
+PROCEDURE proc1 IS
+BEGIN
+IF 7 <> 5 THEN
+FOR rec IN (SELECT * FROM dual
+ WHERE g = 5) LOOP
+NULL;
+END LOOP;
+ END IF;
+END;
+
+PROCEDURE recurse IS
+ b number:=5;
+ d456 number:=456;
+BEGIN
+ recurse;
+ proc1;
+ a := (a + 1
+ +4
+ + 5
+ + 8);
+ c := f + 4 + 34;
+ total := earth +sky;
+
+ --this is comment
+
+ uk:=h;
+ g:=l;
+ exception
+ when no_data then
+ hello;
+ END;
+
+ BEGIN
+ NULL;
+END;
|