[darcs-devel] [issue1315] src/Context.hs:3:55: lexical error in string/character literal at character '/'

Trent Buck bugs at darcs.net
Thu Jan 15 09:36:14 UTC 2009


New submission from Trent Buck <trentbuck at gmail.com>:

This seems wrong, as Context.hs is autogenerated.

    # cabal build
    Preprocessing library darcs-2.1.98.2...
    Preprocessing executables for darcs-2.1.98.2...
    Building darcs-2.1.98.2...
    /usr/bin/ar: creating dist/build/libHSdarcs-2.1.98.2.a
    Linking dist/build/witnesses/witnesses ...
    [  1 of 134] Compiling Context          ( src/Context.hs, dist/build/darcs/darcs-tmp/Context.o )

    src/Context.hs:3:55:
        lexical error in string/character literal at character '/'

    # nl -ba src/Context.hs | sed -n 2,4p
    2  context :: String
    3  context ="# configured Thu Jan 15 17:13:21 EST 2009\n\
    4  \./configure /usr/local/share/config.site /usr/local/etc/config.site\n\

Note that "make witnesses" works fine:

    # make witnesses
    perl release/determine_release_state.pl 2.2.0pre2 > release/STATE
    make: Nothing to be done for `witnesses'.

----------
messages: 7103
nosy: dmitry.kurochkin, kowey, simon, thorkilnaur, twb
status: unread
title: src/Context.hs:3:55: lexical error in string/character literal at character '/'

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1315>
__________________________________


More information about the darcs-devel mailing list