Marco wrote:
if someone that knows ragel could fix all that it will be great.
That someone isn't really me, is it? Below are the results after r1283.
Aaron Spike
aaron@...1252...:/usr/local/src/2geom/build$ svn commit ../lib2geom/src/svg-path-parser.rl Sending lib2geom/src/svg-path-parser.rl Transmitting file data . Committed revision 1283. aaron@...1252...:/usr/local/src/2geom/build$ src/toys/parser "M 10 10 H 20" M X: 10 Y: 10 H 20 Try real pathsink: std::vector length: 1 success! aaron@...1252...:/usr/local/src/2geom/build$ src/toys/parser "M 10 10 V 125" M X: 10 Y: 10 V 125 Try real pathsink: std::vector length: 1 success! aaron@...1252...:/usr/local/src/2geom/build$ src/toys/parser "M 10 10 H 20 10" M X: 10 Y: 10 H 20 H 10 Try real pathsink: std::vector length: 1 success! aaron@...1252...:/usr/local/src/2geom/build$ src/toys/parser "M 302 152 A 150, 120, 0, 1, 0, 2 152" M X: 302 Y: 152 A 150 120 0 1 0 X: 2 Y: 152 Try real pathsink: std::vector length: 1 success! aaron@...1252...:/usr/local/src/2geom/build$ src/toys/parser "M 300 150 A 150, 120, 30, 1, 0, 200 100" M X: 300 Y: 150 A 150 120 30 1 0 X: 200 Y: 100 Try real pathsink: std::vector length: 1 success!