diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-09-25 18:11:30 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-09-25 18:11:30 +0200 |
| commit | 2c055b0972215a29cf0012a60749c3cf8227d53a (patch) | |
| tree | c0fa0bef1dff4258b5db7d9c0e73760e5f874aa4 /src/llvm_backend_expr.cpp | |
| parent | bfc92d0aaf4e04b8378266e2ab25a8e381e34874 (diff) | |
Allow `-define:name=string`.
Slightly rewrote `build_param_to_exact_value` parsing logic.
First, try to parse as a bool, then as an integer or float.
If both fail, treat the value as a string.
To force a string define for e.g. `true`, use `-define:name='true'`.
Diffstat (limited to 'src/llvm_backend_expr.cpp')
0 files changed, 0 insertions, 0 deletions