des105f16 / Editor

0 stars 0 forks source link

Handle function call arguments labels #17

Closed MikaelElkiaer closed 8 years ago

MikaelElkiaer commented 8 years ago

The return label for a function should have all constants replaced with labels for the corresponding parameters. Formal parameters with explicit labels should be used directly, and the labels of the corresponding actual parameters should be at least as restrictive as those. Formal parameters with implicit labels should use the label of the corresponding actual parameter.

MikaelElkiaer commented 8 years ago

Create object for each function declaration, containing return label and formal parameters. For each formal parameter: name, label, and number.