projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tue Nov 14 16:06:37 CET 2006 Paolo Molaro <lupus@ximian.com>
[mono.git]
/
mcs
/
mcs
/
location.cs
diff --git
a/mcs/mcs/location.cs
b/mcs/mcs/location.cs
index f69ee3c69807df87490577a3f7cfa62a8af79e50..2861d7a5bcba5580f539c2963cf0c9f303b1dc36 100644
(file)
--- a/
mcs/mcs/location.cs
+++ b/
mcs/mcs/location.cs
@@
-162,7
+162,7
@@
namespace Mono.CSharp {
// </remarks>
static public SourceFile LookupFile (string name)
{
// </remarks>
static public SourceFile LookupFile (string name)
{
- string path = name
== ""
? "" : Path.GetFullPath (name);
+ string path = name
.Length == 0
? "" : Path.GetFullPath (name);
if (!source_files.Contains (path)) {
if (source_count >= (1 << checkpoint_bits))
if (!source_files.Contains (path)) {
if (source_count >= (1 << checkpoint_bits))
@@
-178,7
+178,7
@@
namespace Mono.CSharp {
return (SourceFile) source_list [index - 1];
}
return (SourceFile) source_list [index - 1];
}
- static public void Push (SourceFile file
, int line
)
+ static public void Push (SourceFile file)
{
current_source = file.Index;
// File is always pushed before being changed.
{
current_source = file.Index;
// File is always pushed before being changed.