Last modified: 2006-12-04 20:09:53 UTC
Reading that code might give some less "hardcore" people an headake. Following patch is my attempt to cleanup the code.
Created attachment 2820 [details] patch cleaning up the code I have checked with parsertest, and it pass.
Created attachment 2821 [details] patch cleaning up the code Fixing the possible undefined index on row 797, fixed some comments. Also I ensure that there are enough whitespaces to make everyone happy.
Created attachment 2822 [details] patch cleaning up the code removed the unnecissary variable $tmp_line as it is unnecissary and don't add to the logic of the code, moved up the attribute code instead in it's place and use the variable $line again instead in the rest of the block, which for me makes more sense.
Applied in r18160.