guybedford / es-module-lexer

Low-overhead lexer dedicated to ES module parsing for fast analysis
MIT License
912 stars 47 forks source link

Remove uint32_t point parameter from parse declaration #131

Closed aomarks closed 1 year ago

aomarks commented 1 year ago

Apologies if I misunderstood something, but it seems that the parse declaration in lexer.h has a point parameter, which is missing from the implementation in lexer.c, and doesn't seem to be referenced anywhere. So this PR removes the parameter from lexer.h.

I noticed this because the emscripten toolchain I'm using raises this a conflicting types for 'parse' error.