Skip to content

Commit b6a7b8e

Browse files
authored
Add new static-assert token for deLexer utility; bug 29273
1 parent 970c5aa commit b6a7b8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cparser/deLexer.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ let delex (symbol : string) : string =
116116
| "DOT" -> "."
117117
| "PRAGMA" -> "#pragma \n"
118118
| "BUILTIN_OFFSETOF" -> "__builtin_offsetof"
119+
| "STATIC_ASSERT" -> "_Static_assert"
119120
| "EOF" -> "" (* this should be ok *)
120121
| _ -> raise Not_found (* this should not happen *)
121122

0 commit comments

Comments
 (0)