Skip to content

Commit

Permalink
[C#] Fix ANTLR example to actually work from command line. Seems no o…
Browse files Browse the repository at this point in the history
…ne ever bothered before.

[git-p4: depot-paths = "//depot/code/examples-v3/": change = 7165]
  • Loading branch information
Verequus committed Nov 23, 2010
1 parent 87d6342 commit c28f1c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csharp/ANTLR/Main.cs
Expand Up @@ -16,7 +16,7 @@ public class AntlrMain
{
public static void Main(string[] args)
{
if (args.Length > 1) {
if (args.Length != 0) {
string inputFileName = args[0];
if (!Path.IsPathRooted(inputFileName))
{
Expand Down

0 comments on commit c28f1c2

Please sign in to comment.