mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-06 03:05:31 -05:00
fix comment in parser
This commit is contained in:
parent
5f84352f33
commit
f1df47c43b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue