acmpesuecc / Yocto

A yocto compiler written in OCaml
GNU General Public License v3.0
1 stars 6 forks source link

Unable to build Yocto #5

Closed Delta18-Git closed 23 minutes ago

Delta18-Git commented 3 hours ago

After installing the dependencies, Yocto doesn't compile, giving an error:

+ /usr/bin/ocamlyacc parser.mly
File "parser.mly", line 40: cannot use literal as token name
var_decl: "int" ident ident EQUAL expr SEMICOLON { VariableDeclaration($2, $3, $5) }
          ^
Command exited with code 1.
Compilation unsuccessful after building 7 targets (6 cached) in 00:00:00.
bunsamosa-bot[bot] commented 3 hours ago

Thank you for opening this issue! A Maintainer will review it soon!