Skip to content
Snippets Groups Projects
Commit 1567192a authored by Claire Girot's avatar Claire Girot
Browse files

maj_lexer

parent 2fceafcc
Branches
Tags
No related merge requests found
......@@ -24,7 +24,7 @@ rule token = parse
(* integers *)
| digit+ as nb { mk_int nb }
(* commands *)
(* | "push" {Push (mkint nb)} ne se fait pas que avec ocamllex - push 12 est une phrase, push et 12 sont deux unités lexicales, wtf *)
| "push" {Push}
| "pop" {Pop}
| "swap" {Swap}
| "add" {Add}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment