aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Parse.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2017-02-08 15:54:10 +0100
committerBernhard Schommer <bschommer@users.noreply.github.com>2017-02-17 14:09:56 +0100
commitf066675dc9ead0ef88e27c139c046906f2fcdaeb (patch)
treecaefc9ed60b4358ec2e78ec650cfee41ad14b05c /cparser/Parse.ml
parent02ce352d5f402e43afde51337444b6cd13f06d7e (diff)
downloadcompcert-kvx-f066675dc9ead0ef88e27c139c046906f2fcdaeb.tar.gz
compcert-kvx-f066675dc9ead0ef88e27c139c046906f2fcdaeb.zip
Checks can be applied add several places.
There should not be a single check place, since for example unknonw attributes should be check after elaboration and other simplifications.
Diffstat (limited to 'cparser/Parse.ml')
-rw-r--r--cparser/Parse.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/cparser/Parse.ml b/cparser/Parse.ml
index 0d3003aa..f7676083 100644
--- a/cparser/Parse.ml
+++ b/cparser/Parse.ml
@@ -25,7 +25,7 @@ let transform_program t p name =
(run_pass Bitfields.program 'f'
p)))) in
let p2 = Rename.program p1 in
- Checks.program p2;
+ Checks.unknown_attrs_program p2;
p2
let parse_transformations s =