Menu

#652 tipsfile parser error wrt to eof

open
nobody
Program (402)
5
2009-03-15
2009-03-15
Bert Wesarg
No

For include and alias blocks, the parser missed the last content line, if no
explicit empty line is at the end of file. I.e.:

--------8<--------
* language *
C

hello
world

* alias *
hello
hallo
welt
juhu
-------->8--------

'juhu' would not be an alias to 'hello'. You get a parser error if the alias
block has only one alias:

--------8<--------
* language *
C

hello
world

* alias *
hello
hallo
-------->8--------

The current workaround is to add one explicit empty line:
--------8<--------
* language *
C

hello
world

* alias *
hello
hallo

-------->8--------

This patch should fix it.

Discussion

  • Bert Wesarg

    Bert Wesarg - 2009-03-15

    fix

     
  • Bert Wesarg

    Bert Wesarg - 2009-06-23

    committed

     

Log in to post a comment.