From c7dbd598e3cddc3161bc718f9ea9df6f15f8fdd6 Mon Sep 17 00:00:00 2001
From: P. J. McDermott <pjm@nac.net>
Date: Sun, 22 Sep 2013 17:21:06 -0400
Subject: Allow input and output to both be "-".

---
(limited to 'src')

diff --git a/src/ssic.pl b/src/ssic.pl
index d678556..8ecc30e 100644
--- a/src/ssic.pl
+++ b/src/ssic.pl
@@ -111,7 +111,7 @@ sub compile
 	my $var_name;
 	my $var_value;
 
-	if ($input eq $output) {
+	if ($input eq $output and $input ne "-") {
 		error(4, "Input and output files are equal\n");
 	}
 
--
cgit v0.9.1