File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " mxmlextrema-as3parser"
3- version = " 1.6.1 "
3+ version = " 1.6.2 "
44edition = " 2021"
55authors = [
" Matheus Dias de Souza <[email protected] >" ]
66repository = " https://github.com/mxmlextrema/as3parser"
Original file line number Diff line number Diff line change @@ -249,5 +249,5 @@ impl CompilationUnit {
249249}
250250
251251fn canonicalize_path ( path : & str ) -> String {
252- realhydroper_path:: canonicalize_inexistent_path ( std:: path:: Path :: new ( path) ) . to_string_lossy ( ) . into_owned ( )
252+ realhydroper_path:: normalize_path ( std:: path:: Path :: new ( path) ) . to_string_lossy ( ) . into_owned ( )
253253}
Original file line number Diff line number Diff line change @@ -3692,11 +3692,11 @@ impl<'input> Parser<'input> {
36923692 } else {
36933693 // Read included content
36943694
3695- let sub_file_path_pathbuf = realhydroper_path:: canonicalize_inexistent_path ( & sub_flex_file_path. to_path_buf ( ) ) ;
3695+ let sub_file_path_pathbuf = realhydroper_path:: normalize_path ( & sub_flex_file_path. to_path_buf ( ) ) ;
36963696 let mut replaced = false ;
36973697
36983698 for ( replace_file_path, content) in self . replace_included_content . read ( ) . unwrap ( ) . iter ( ) {
3699- if sub_file_path_pathbuf == realhydroper_path:: canonicalize_inexistent_path ( & replace_file_path) {
3699+ if sub_file_path_pathbuf == realhydroper_path:: normalize_path ( & replace_file_path) {
37003700 nested_compilation_unit = Some ( CompilationUnit :: new ( Some ( sub_file_path_pathbuf. to_str ( ) . unwrap ( ) . to_owned ( ) ) , content. clone ( ) ) ) ;
37013701 replaced = true ;
37023702 break ;
You can’t perform that action at this time.
0 commit comments