Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000333OCamlOCaml generalpublic2001-04-09 02:172001-04-09 03:22
Reporteradministrator 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000333: directory misuse hangs ocamlwin
DescriptionFull_Name: Sean Levin
Version: 3.01
OS: Win2000 Server
Submission from: 24-168-82-233.nyc.rr.com (24.168.82.233)


I type:
#directory "d:\ocaml\lib\labltk";;
and things work fine.

I type:
#directory "d:\ocaml\lib\labltk\";;
with that extra backslash at the end and ocamlwin stops interperating.
I can still use menus and type, but I am no longer able to do anything or
#quit;;

I must kill the application in order to exit.

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0002246)
administrator (administrator)
2001-04-09 03:22

just an open string.
(0002247)
administrator (administrator)
2001-04-09 10:21

> Full_Name: Sean Levin
>
> I type:
> #directory "d:\ocaml\lib\labltk\";;
> with that extra backslash at the end and ocamlwin stops interperating.

That's just another instance of the (*) problem:
'\"' is an escape sequence for the character double-quote.
The interpreter is not stuck. It is just waiting for you to close your
string.

Would this need another special prompt, like for comments?
Also, is it really a good idea to parse "\l" as '\\' and 'l', while
"\n" is parsed as the newline character?

Jacques Garrigue

(0002248)
administrator (administrator)
2001-04-10 10:21

> Would this need another special prompt, like for comments?
> Also, is it really a good idea to parse "\l" as '\\' and 'l', while
> "\n" is parsed as the newline character?

I don't know. ANSI C leaves this undefined; gcc accepts it but emits
a warning; Java disallows it entirely...

- Xavier Leroy


- Issue History
Date Modified Username Field Change
2005-11-18 10:13 administrator New Issue


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker