goccy / p5-Compiler-Lexer

Lexical Analyzer for Perl5
Other
46 stars 17 forks source link

fix issue #53 #56

Closed goccy closed 9 years ago

goccy commented 9 years ago

This PR resolve #53

moznion commented 9 years ago
token_buffer = (char *)malloc((script_size + EXTEND_BUFFER_SIZE) * 2);

It looks enough realistically. cuz it takes twice memory size.