slint/sixtyfps_compiler/parser_test_macro
Simon Hausmann 8e047d3761 Simplify compiler diagnostics API
Don't require the callers to hold on to the source code string until an
eventual diagnostics code path is hit. Instead it turns out it's
simpler to let the parser consume the source code as string, where
internally after tokenizing it can be moved into the diagnostics and
from there into the code map if needed.

There are a few places where we now clone the source code, but that's
only in cases where we also extract stuff separately (test code) or the
syntax updater.
2020-07-15 17:34:11 +02:00
..
Cargo.toml Use the parser_test only in test mode 2020-05-05 16:37:49 +02:00
lib.rs Simplify compiler diagnostics API 2020-07-15 17:34:11 +02:00