diff --git a/ssc/ast/nodes.cs b/ssc/ast/nodes.cs index 69dac4b..5864934 100644 --- a/ssc/ast/nodes.cs +++ b/ssc/ast/nodes.cs @@ -12,6 +12,10 @@ namespace arookas public sunSourceLocation(string file, int line, int column) { + if (file == null) + { + throw new ArgumentNullException("file"); + } File = file; Line = line; Column = column;