diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2017-08-28 15:05:27 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2017-08-28 15:05:27 +0200 |
commit | f3c60be7e370b20cccbb006d3cba907e15659656 (patch) | |
tree | c88c720826104710b0c74083d238b284859c3768 /exportclight/Clightdefs.v | |
parent | c9cdb9911223d405785ba40469d76f00af0eccff (diff) | |
download | compcert-f3c60be7e370b20cccbb006d3cba907e15659656.tar.gz compcert-f3c60be7e370b20cccbb006d3cba907e15659656.zip |
Issue #199: improve namespace management for clightgen-produced files
Qualify imports in clightgen-produced files and in Clightdefs so that they can be used with coq -Q /path/to/compcert compcert.
Remove 'Require Export' from Clightdefs as suggested in issue #199.
Diffstat (limited to 'exportclight/Clightdefs.v')
-rw-r--r-- | exportclight/Clightdefs.v | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/exportclight/Clightdefs.v b/exportclight/Clightdefs.v index 1124fae8..83d82d88 100644 --- a/exportclight/Clightdefs.v +++ b/exportclight/Clightdefs.v @@ -15,17 +15,8 @@ (** All imports and definitions used by .v Clight files generated by clightgen *) -Require Export String. -Require Export List. -Require Export ZArith. -Require Export Integers. -Require Export Floats. -Require Export AST. -Require Export Ctypes. -Require Export Cop. -Require Export Clight. -Require Import Maps. -Require Import Errors. +From Coq Require Import String List ZArith. +From compcert Require Import Integers Floats Maps Errors AST Ctypes Cop Clight. Definition tvoid := Tvoid. Definition tschar := Tint I8 Signed noattr. |