aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/deLexer.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2018-07-05 11:09:12 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2018-07-05 11:09:12 +0200
commit380a8489a882fc3eab02aa3d0cc03a2aa8078044 (patch)
tree1cba7e07ba131f2ea98f8fa0d1745e40c9650753 /cparser/deLexer.ml
parent5b5cc7ed3bfa8e651ae3072af52c7821d6374217 (diff)
downloadcompcert-kvx-380a8489a882fc3eab02aa3d0cc03a2aa8078044.tar.gz
compcert-kvx-380a8489a882fc3eab02aa3d0cc03a2aa8078044.zip
Update delexer for BUILTIN_OFFSETOF. Bug 23929
Diffstat (limited to 'cparser/deLexer.ml')
-rw-r--r--cparser/deLexer.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/cparser/deLexer.ml b/cparser/deLexer.ml
index 3aa168da..de0e9b6e 100644
--- a/cparser/deLexer.ml
+++ b/cparser/deLexer.ml
@@ -115,6 +115,7 @@ let delex (symbol : string) : string =
| "COMMA" -> ","
| "DOT" -> "."
| "PRAGMA" -> "#pragma \n"
+ | "BUILTIN_OFFSETOF" -> "__builtin_offsetof"
| "EOF" -> "" (* this should be ok *)
| _ -> raise Not_found (* this should not happen *)