canonical / sqlair

Friendly type mapping for SQL databases
Apache License 2.0
17 stars 9 forks source link

Add advance function to Parse method #16

Closed Aflynn50 closed 1 year ago

Aflynn50 commented 1 year ago

This PR removed the p.pos++ from the Parse function and replaces it with a function advance that skips input until it finds the next character of interest. These are the characters that appear at the start of IO expressions and quoted string literals.