summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ruby.c b/ruby.c
index 493aafd1eb..f382af06ba 100644
--- a/ruby.c
+++ b/ruby.c
@@ -548,6 +548,12 @@ load_file(fname, script)
xflag = Qfalse;
while (!NIL_P(line = rb_io_gets(f))) {
line_start++;
+#if defined(__EMX__) || defined(OS2)
+/*
+ if (p = strstr(RSTRING(line)->ptr, "extproc"))
+ line = io_gets(f);
+*/
+#endif /* __EMX__ */
if (RSTRING(line)->len > 2
&& RSTRING(line)->ptr[0] == '#'
&& RSTRING(line)->ptr[1] == '!') {