update parser

closes #69

this doesn't change functionality per se but improves diagnostics in some cases. Some hard errors
have becomes warnings, for example: when `resources` is empty, or when `idle.path` is set to the
default `idle` path.
This commit is contained in:
Jorge Aparicio 2018-04-08 18:23:27 +02:00
parent b55581dfe3
commit 7fdf16eab9
13 changed files with 61 additions and 139 deletions

View file

@ -8,12 +8,10 @@ extern crate stm32f103xx;
use rtfm::app;
app! {
//~^ error no variant named `EXTI33` found for type
app! { //~ error no variant named `EXTI33` found for type
device: stm32f103xx,
tasks: {
// ERROR this interrupt doesn't exist
EXTI33: {
path: exti33,
},