aboutsummaryrefslogtreecommitdiff
path: root/sysinit
AgeCommit message (Collapse)Author
2021-02-04Properly handle ordering of -w and -native-compilerGaƫtan Gilbert
Warnings are handled as injection commands, interleaved with options and requires. Native compiler impacts require, so we must convert "yes" to "no" before handling injections. As such the semantic handling of the native command line argument must be separated from the emission of the warning message, which this PR implements. Fix #13819 In principle the other 2 cwarning in coqargs (deprecated spropcumul and inputstate) should be moved to injections too, but since they're deprecated I can't be bothered.
2021-01-27make the linter happyEnrico Tassi
2021-01-27[coqargs] use standard option injection for -print-emacsEnrico Tassi
2021-01-27[coqargs] use standard option injection for -type-in-typeEnrico Tassi
2021-01-27[coqargs] use standard option injection for -mangle-namesEnrico Tassi
2021-01-27[coqtop] handle -print-module-uid after initializationEnrico Tassi
2021-01-27[coqc] move -output-context from sysinit/coqargs to coqc properEnrico Tassi
2021-01-27[sysinit] move initialization code from coqtop to hereEnrico Tassi
We also spill (some) non-generic arguments and initialization code out of coqargs and to coqtop, namely colors for the terminal. There are more of these, left to later commits.
2021-01-27[sysinit] new component for system initializationEnrico Tassi
This component holds the code for initializing Coq: - parsing arguments not specific to the toplevel - initializing all components from vernac downwards (no stm) This commit moves stm specific arguments parsing to stm/stmargs.ml