dmajda/pegjs — pull request #95 by michaelficarra (2012-06-19 20:25:33+00:00)
Title: SyntaxError should properly extend Error

This way, its instances will be distinguishable from other Error (and Error subtype) instances using an instanceof test.