Adds pointeur dereferencing keyword. Follow #2434. (#2443)

This commit is contained in:
Fabien-B
2019-08-28 23:20:18 +02:00
committed by Gautier Hattenberger
parent d13dafbf97
commit 50d1e2eaaa
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
<attitude pitch="0" roll="0" throttle="0" vmode="throttle" until="FALSE"/>
</block>
<block name="Takeoff" strip_button="Takeoff" strip_icon="takeoff.png">
<exception cond="stateGetPositionEnu_f()->z > 2.0" deroute="Standby"/>
<exception cond="stateGetPositionEnu_f() @DEREF z @GT 2.0" deroute="Standby"/>
<call_once fun="NavSetWaypointHere(WP_CLIMB)"/>
<stay vmode="climb" climb="nav_climb_vspeed" wp="CLIMB"/>
</block>
+1
View File
@@ -42,6 +42,7 @@ rule token = parse
| '[' { LB }
| ']' { RB }
| "->" { DEREF }
| "@DEREF" {DEREF}
| "==" { EQ }
| "&&" { AND }
| "@AND" { AND }