[Ur] Parse errors

James Parker jp at jamesparker.me
Sun Nov 20 17:46:51 EST 2011


Hi

I believe the urweb compiler may be parsing my .urp file improperly. Here
is my .urp file:

#library common
database dbname=umdtalks
sql umdtalks.sql
allow url http://en.wikipedia.org/wiki/*
allow url /css/index.css
rewrite style Umdtalks/*

umdtalks

When compiling, I get the following error:

Filename contains a character that isn't alphanumeric or underscore:
databasedbname=umdtalks
unhandled exception: Io: openIn
"/home/james/Projects/UMDTalks/databasedbname=umdtalks.ur" failed with
SysErr: No such file or directory [noent]

If I delete the first line, the project compiles fine. I could be mistaken,
but I don't think this is expected behavior.

James Parker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.impredicative.com/pipermail/ur/attachments/20111120/ab8e6b0a/attachment.html>


More information about the Ur mailing list