equal
deleted
inserted
replaced
1 # Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 # Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 # All rights reserved. |
2 # All rights reserved. |
3 # This component and the accompanying materials are made available |
3 # This component and the accompanying materials are made available |
4 # under the terms of the License "Eclipse Public License v1.0" |
4 # under the terms of "Eclipse Public License v1.0" |
5 # which accompanies this distribution, and is available |
5 # which accompanies this distribution, and is available |
6 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 # |
7 # |
8 # Initial Contributors: |
8 # Initial Contributors: |
9 # Nokia Corporation - initial contribution. |
9 # Nokia Corporation - initial contribution. |
310 if ($Line !~ /^\s*\d+:\s+(\S+)$/o) { |
310 if ($Line !~ /^\s*\d+:\s+(\S+)$/o) { |
311 print STDERR "MAKEDEF WARNING: unknown inf file format\n"; |
311 print STDERR "MAKEDEF WARNING: unknown inf file format\n"; |
312 next; |
312 next; |
313 } |
313 } |
314 } |
314 } |
315 $Name = $1; |
315 $Name = length $1 ? $1 : ''; |
316 # Workaround: if MWLD can't demangle the name, we will see only the __imp_ version. |
316 # Workaround: if MWLD can't demangle the name, we will see only the __imp_ version. |
317 if ($Name =~ /^__imp_(\S+)$/o) { |
317 if ($Name =~ /^__imp_(\S+)$/o) { |
318 $Name = $1; |
318 $Name = $1; |
319 } |
319 } |
320 $Line = <FILE>; |
320 $Line = <FILE>; |