Ticket #37 (closed Bug: fixed)
SCC error
Reported by: | N. Vienne (thales) | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.2 |
Component: | framework | Version: | |
Keywords: | Cc: |
Description
Checking the EDF-like scheduler with scc raise an error :
C:\Documents and Settings\T0081686\Bureau\Josefil>scc EDF.sc
scc version 2.0, Copyright (C) 2002-2009, F. Singhoff
Compiled after march the 5th, 2007
(blablabla)
Parsing error : Line 5, tasks.start_time, Undeclared Identifier
Content of EDF.sc :
start_section:
dynamic_priority : array (tasks_range) of integer;
priority_section:
dynamic_priority := tasks.start_time + tasks.deadline
+ ((tasks.activation_number-1)*tasks.period);
election_section:
return min_to_index(dynamic_priority);
It's not critical since Cheddar seems to work correctly with the defined scheduler, but
the remaining lines are not checked.