RomanYankovsky / DelphiAST

Abstract syntax tree builder for Delphi
Mozilla Public License 2.0
271 stars 116 forks source link

String parsing error #326

Open parix3 opened 1 month ago

parix3 commented 1 month ago

A string starting with a double apostrophe is incorrectly parsed. All such literals are truncated. For example "'bla-bla" bla-bla' The error is directly in the function TPasSyntaxTreeBuilder.DequoteString(const S: string): string;