p5-Compiler-Lexer
p5-Compiler-Lexer copied to clipboard
Lexical Analyzer for Perl5
Compilation fails on newer FreeBSD systems (e.g. 14, 15): ``` ... cc -Isrc -I/usr/perl5.38.2/lib/5.38.2/aarch64-freebsd/CORE -DPIC -fPIC -Iinclude -Wno-missing-field-initializers -g3 -xc++ -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -O2 -pipe -o...
Compiler::Lexer is used by Perl::LanguageServer. When there is a multi dimensional array in some source file, the LanguageServer crashes because the Lexer crashed with `malloc(): corrupted top size`. The problem...
This issue occurs in Compiler::Lexer->tokenize(). If there is a statement in the scanned code using a qw() which extends over multiple lines, the {line} member of the resulting token is...
XRef: https://github.com/Perl/perl5/issues/19310
WIP. Please check after merging the previous [pull request](https://github.com/goccy/p5-Compiler-Lexer/pull/81). This pull request fixes the #82. Thanks.
I'm trying to fix some issues on follow refs. refs: - https://github.com/goccy/p5-Compiler-Lexer/issues/71 - https://github.com/goccy/p5-Compiler-Lexer/issues/73 And, I found these issues are caused by like following this code. ```perl BEGIN { $GBFreq...
Minilla v3.0.10 is out. It will re-generate Build.PL with the correct options to support Perl without . in @INC. Could you please be sure to update Minilla prior to your...
Found by accident while minimizing another crash case.
``` $ perl -MCompiler::Lexer -MData::Dumper -E 'say Dumper +Compiler::Lexer->new->tokenize(q($a++ / 1))' $VAR1 = [ bless( { 'line' => 1, 'data' => '$a', 'name' => 'GlobalVar', 'stype' => 0, 'type' =>...
Output: ``` perl: src/compiler/lexer/Compiler_scanner.cpp:763: Token* Scanner::scanNumber(LexContext*): Assertion `(c == '.' || ('0'