Skip to content

Commit

Permalink
added support for multiline comments
Browse files Browse the repository at this point in the history
  • Loading branch information
helino committed May 17, 2011
1 parent 4105b01 commit c187bc3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/se/helino/mjc/parser/MJParser.jj
Expand Up @@ -13,6 +13,19 @@ SKIP:
| "\n"
| "\t"
| <"//" (~["\n","\r"])* ("\n"|"\r"|"\r\n")>
| "/*" : WithinComment
}

<WithinComment>
SKIP:
{
"*/" : DEFAULT
}

<WithinComment>
MORE:
{
<~[]>
}

TOKEN:
Expand Down

0 comments on commit c187bc3

Please sign in to comment.