nrkn/hrm-parser

Issue with parsing some comments

Closed this issue · 1 comments

With the following example:

-- HUMAN RESOURCE MACHINE PROGRAM --
-- 01-Mail-Room - SIZE 6/6 - SPEED 6/6 --

-- Straightforward. The first level introduces the inbox and outbox commands.

    INBOX   
    OUTBOX  
    INBOX   
    OUTBOX  
    INBOX   
    OUTBOX  

The game is OK with all the comments, but hrm-parser isn't.

nrkn commented

Ah, I guess it ends a comment at the end of the line rather than with another double hyphen - cheers