Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix small problem in filesep

  • Loading branch information...
commit 38bc6595d5ac1a01f1b1d3056e0ea9be97eb94a2 1 parent 608798f
@Whiteknight authored
Showing with 8 additions and 5 deletions.
  1. +0 −5 src/builtins/exit.pir
  2. +8 −0 toolbox/filesep.m
View
5 src/builtins/exit.pir
@@ -1,5 +0,0 @@
-.sub 'exit'
- .param int nargout
- .param int nargin
- exit 0
-.end
View
8 toolbox/filesep.m
@@ -0,0 +1,8 @@
+function sep = filesep()
+ os = computer('parrotos');
+ if os == "MSWin32"
+ sep = "\\";
+ else
+ sep = "/";
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.