Skip to content

Commit

Permalink
[hlc] add bool to reserved keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz authored and 0b1kn00b committed Jan 25, 2024
1 parent e0d10a9 commit 75149eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generators/hl2c.ml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ let sprintf = Printf.sprintf

let keywords =
let c_kwds = [
"auto";"break";"case";"char";"const";"continue";"default";"do";"double";"else";"enum";"extern";"float";"for";"goto";
"auto";"bool";"break";"case";"char";"const";"continue";"default";"do";"double";"else";"enum";"extern";"float";"for";"goto";
"if";"int";"long";"register";"return";"short";"signed";"sizeof";"static";"struct";"switch";"typedef";"union";"unsigned";
"void";"volatile";"while";
(* Values *)
Expand Down

0 comments on commit 75149eb

Please sign in to comment.