Menu

#1789 Fix for HEREDOC that are syntax errors, removed dynamic arrays

Bug
closed-fixed
5
2016-01-18
2015-12-09
No

Oh, I have finally got going on LexBash, also updating and checking tests etc.
(a) Changed the dynamic arrays stuff
(b) Highlight incomplete HEREDOC delimiters (missing ending quote case) in error style. In the past, incomplete quoted HEREDOC delimiter may have been accepted by bash (can't remember), but as tested on bash 4.3, they are now all flagged as syntax errors.
Attached LexBash.cxx and tests in bash-heredoc.sh (examples are lines 38-73)
Will sort out bug #1778 next.

1 Attachments

Discussion

  • Neil Hodgson

    Neil Hodgson - 2015-12-10

    Thanks. Committed as [e46c2c].

     

    Related

    Commit: [e46c2c]

  • Neil Hodgson

    Neil Hodgson - 2015-12-10
    • status: open --> open-fixed
     
  • Neil Hodgson

    Neil Hodgson - 2016-01-18
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB