aboutsummaryrefslogtreecommitdiff
path: root/src/tools/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/parser.cpp')
-rw-r--r--src/tools/parser.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/parser.cpp b/src/tools/parser.cpp
index aa9e3e4..7d35f12 100644
--- a/src/tools/parser.cpp
+++ b/src/tools/parser.cpp
@@ -227,6 +227,11 @@ void redPrint( Bu::Parser &p )
227 227
228int main( int argc, char *argv[] ) 228int main( int argc, char *argv[] )
229{ 229{
230 if( argc < 2 )
231 {
232 println("Provide an input filename as the first parameter.");
233 return 0;
234 }
230 File fIn( argv[1], File::Read ); 235 File fIn( argv[1], File::Read );
231 236
232 Parser p; 237 Parser p;