fix comment in parser

This commit is contained in:
Simon Cruanes 2014-11-01 22:04:22 +01:00
parent 5f84352f33
commit f1df47c43b

View file

@ -8,9 +8,9 @@ let number = ['0' - '9']+
rule token = parse
| ' ' { token lexbuf }
| 'c' [^ '\n']* '\n' { token lexbuf }
| 'p' { P }
| "cnf" { CNF }
| '\n' { EOL }
| "c " [^ '\n']* '\n' { token lexbuf }
| ['-']? number { LIT (int_of_string (Lexing.lexeme lexbuf)) }
| eof { EOF }