Description

If a parser has a Line Continuation character, the parser has a problem.

Steps to reproduce

  1. Please see Example section.

Example

The line continuation character of the first line doesn't work correctly.

   1 #define MyMacro()    \
   2     printf("This is first line.\n);   \
   3     printf("This is second line.\n);
   4 

Component selection

Details

MoinMoin Version

1.8.0rc1

OS and Version

Fedora7

Python Version

2.5

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

Discussion

Please note that with 1.9 we use for syntax highlighting a new highlight parser based on pygments.

   1 #define MyMacro()    \
   2     printf("This is first line.\n);   \
   3     printf("This is second line.\n);
   4 

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/ParserWithLineContinuation (last edited 2009-11-28 10:05:56 by ThomasWaldmann)