|
[ ghc-Bugs-1303232 ] parse error on input `\' when using -cpp: msg#00005lang.haskell.glasgow.bugs
Bugs item #1303232, was opened at 2005-09-24 14:25 Message generated for change (Comment added) made by simonmar You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1303232&group_id=8032 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Wont Fix Priority: 5 Submitted By: Peter (peter26) Assigned to: Nobody/Anonymous (nobody) Summary: parse error on input `\' when using -cpp Initial Comment: When compiling code like: infixl 9 \ (\) = undefined causes a parser error, when compiling with the -cpp option ---------------------------------------------------------------------- >Comment By: Simon Marlow (simonmar) Date: 2005-10-07 08:48 Message: Logged In: YES user_id=48280 This is a limitation in CPP, which interprets a backslash at the end of a line as a line continuation. You can work around it in two ways: add a comment at the end of the line to fool CPP, or use cpphs instead (recent cpphs's work nicely with GHC, I believe). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1303232&group_id=8032
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-1315472 ] in hdirect stdcall not supported on PPC Mac OS X 10.3, SourceForge.net |
|---|---|
| Next by Date: | [ ghc-Bugs-1315472 ] in hdirect stdcall not supported on PPC Mac OS X 10.3, SourceForge.net |
| Previous by Thread: | [ ghc-Bugs-1315472 ] in hdirect stdcall not supported on PPC Mac OS X 10.3, SourceForge.net |
| Next by Thread: | [ ghc-Bugs-1275126 ] configure problems with openGL and openAL, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |