Original War Support Bug Tracker
star_faded.png
Please log in to bookmark issues
enhancement_small.png
CLOSED  Enhancement #82  -  SAIL: allow nesting of comments
Posted Feb 24, 2015 - updated Feb 25, 2015
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Done" and resolution "RESOLVED".
Issue details
  • Type of issue
    Enhancement
  • Status
     
    Done
  • Assigned to
     Radzio
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     McBenn
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Time spent
    No time spent
  • Category
    Not determined
  • Resolution
    RESOLVED
  • Priority
    Low
  • Targetted for
    icon_milestones.png Not determined
Issue description
SAIL: allow nesting of comments e.g.
  {
    code, code
    {
      code, code
    }
    code, code
  }

#2
Comment posted by
 Radzio
Feb 24, 17:25
SAIL's grammar can easily support nested comments.
#4
Comment posted by
 Radzio
Feb 25, 14:34
Implemented: Lexer supports nested comments with nesting level of up to (2^32 - 1) now. I.e. the SAIL compiler works with nested comments with any useful level of nesting.

The missing thing now is just proper highlighting in the editor's window as it was implemented by Altar independently of the lexer.