Commit ef19301b authored by Anders Nilsson's avatar Anders Nilsson

Trying to modify flex for owl usage

parent 2f4c45e9
......@@ -78,12 +78,14 @@ InputCharacter = [^\r\n]
WhiteSpace = {LineTerminator} | [ \t\f]
/* comments */
Comment = {TraditionalComment} | {EndOfLineComment} |
{DocumentationComment}
TraditionalComment = "/*" [^*] ~"*/" | "/*" "*"+ "/"
EndOfLineComment = "//" {InputCharacter}* {LineTerminator}?
DocumentationComment = "/*" "*"+ [^/*] ~"*/"
// Comment = {TraditionalComment} | {EndOfLineComment} |
// {DocumentationComment}
Comment = XMLComment
// TraditionalComment = "/*" [^*] ~"*/" | "/*" "*"+ "/"
// EndOfLineComment = "//" {InputCharacter}* {LineTerminator}?
// DocumentationComment = "/*" "*"+ [^/*] ~"*/"
XMLComment = "<!--" {InputCharacter}* "-->"
/* identifiers */
Identifier = [:jletter:][:jletterdigit:]*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment