ScottMattes
Member³
PLSD 10.0.5
Win 7
I was making some changes to code and then ran the Beautifier and got a shock - after a certain point all lines of code were left justified and in all other ways didn't follow my Beautifier rules. No error messages of any kind.
Here is a test case to replicate the problem:
Anyone spotted the cause yet?
After running Beautifier I got this:
On the line where a_bool is assigned a value I had forgotten the ';' - but Beautifier did not complain in any way, shape, or form about the code, it just messed the following lines up.
Fortunately, putting in the errant ';' and rerunning the Beautifier fixed everything.
Win 7
I was making some changes to code and then ran the Beautifier and got a shock - after a certain point all lines of code were left justified and in all other ways didn't follow my Beautifier rules. No error messages of any kind.
Here is a test case to replicate the problem:
Code:
CREATE OR REPLACE PROCEDURE a_Test(v_One IN CHAR,
v_Two IN CHAR) IS
a_Bool BOOLEAN;
BEGIN
a_Bool := v_One = v_Two
IF a_Bool
THEN
Dbms_Output.Put_Line('true');
ELSE
Dbms_Output.Put_Line('false');
END IF;
END a_Test;
Anyone spotted the cause yet?
After running Beautifier I got this:
Code:
CREATE OR REPLACE PROCEDURE a_Test(v_One IN CHAR,
v_Two IN CHAR) IS
a_Bool BOOLEAN;
BEGIN
a_Bool := v_One = v_Two
IF a_Bool THEN Dbms_Output.Put_Line('true');
ELSE Dbms_Output.Put_Line('false');
END IF;
END a_Test;
On the line where a_bool is assigned a value I had forgotten the ';' - but Beautifier did not complain in any way, shape, or form about the code, it just messed the following lines up.
Fortunately, putting in the errant ';' and rerunning the Beautifier fixed everything.