call flush_segments() when we get to a custom M code, so order doesn't get mangled
call flush_segments() when we get to a custom M code, so order doesn't get mangled

strahlex/machinekit,strahlex/machinekit,unseenlaser/linuxcnc,RunningLight/machinekit,ikcalB/linuxcnc-mirror,unseenlaser/machinekit,RunningLight/machinekit,strahlex/machinekit,cdsteinkuehler/linuxcnc,jaguarcat79/ILC-with-LinuxCNC,ArcEye/MK-Qt5,ArcEye/machinekit-testing,cnc-club/linuxcnc,ikcalB/linuxcnc-mirror,mhaberler/machinekit,yishinli/emc2,strahlex/machinekit,aschiffler/linuxcnc,bobvanderlinden/machinekit,ArcEye/machinekit-testing,EqAfrica/machinekit,cdsteinkuehler/MachineKit,bobvanderlinden/machinekit,bmwiedemann/linuxcnc-mirror,araisrobo/machinekit,EqAfrica/machinekit,Cid427/machinekit,kinsamanka/machinekit,araisrobo/machinekit,EqAfrica/machinekit,ArcEye/machinekit-testing,cdsteinkuehler/linuxcnc,bobvanderlinden/machinekit,unseenlaser/linuxcnc,strahlex/machinekit,ikcalB/linuxcnc-mirror,ianmcmahon/linuxcnc-mirror,bobvanderlinden/machinekit,ArcEye/machinekit-testing,jaguarcat79/ILC-with-LinuxCNC,narogon/linuxcnc,Cid427/machinekit,aschiffler/linuxcnc,unseenlaser/machinekit,strahlex/machinekit,bmwiedemann/linuxcnc-mirror,ianmcmahon/linuxcnc-mirror,kinsamanka/machinekit,bmwiedemann/linuxcnc-mirror,ArcEye/MK-Qt5,RunningLight/machinekit,unseenlaser/machinekit,ArcEye/MK-Qt5,RunningLight/machinekit,ianmcmahon/linuxcnc-mirror,EqAfrica/machinekit,EqAfrica/machinekit,kinsamanka/machinekit,ArcEye/machinekit-testing,cnc-club/linuxcnc,aschiffler/linuxcnc,ikcalB/linuxcnc-mirror,unseenlaser/machinekit,narogon/linuxcnc,RunningLight/machinekit,mhaberler/machinekit,unseenlaser/linuxcnc,Cid427/machinekit,araisrobo/machinekit,bmwiedemann/linuxcnc-mirror,ianmcmahon/linuxcnc-mirror,kinsamanka/machinekit,cnc-club/linuxcnc,narogon/linuxcnc,Cid427/machinekit,cdsteinkuehler/MachineKit,RunningLight/machinekit,unseenlaser/machinekit,ArcEye/MK-Qt5,unseenlaser/linuxcnc,araisrobo/linuxcnc,bmwiedemann/linuxcnc-mirror,yishinli/emc2,cdsteinkuehler/linuxcnc,mhaberler/machinekit,kinsamanka/machinekit,Cid427/machinekit,jaguarcat79/ILC-with-LinuxCNC,bobvanderlinden/machinekit,araisrobo/machinekit,bobvanderlinden/machinekit,araisrobo/linuxcnc,ianmcmahon/linuxcnc-mirror,cnc-club/linuxcnc,Cid427/machinekit,cdsteinkuehler/MachineKit,ArcEye/MK-Qt5,mhaberler/machinekit,ArcEye/machinekit-testing,araisrobo/linuxcnc,RunningLight/machinekit,mhaberler/machinekit,araisrobo/linuxcnc,cdsteinkuehler/linuxcnc,araisrobo/linuxcnc,yishinli/emc2,jaguarcat79/ILC-with-LinuxCNC,cdsteinkuehler/MachineKit,mhaberler/machinekit,kinsamanka/machinekit,ikcalB/linuxcnc-mirror,ArcEye/MK-Qt5,ArcEye/machinekit-testing,aschiffler/linuxcnc,strahlex/machinekit,cnc-club/linuxcnc,mhaberler/machinekit,ianmcmahon/linuxcnc-mirror,aschiffler/linuxcnc,ianmcmahon/linuxcnc-mirror,narogon/linuxcnc,ikcalB/linuxcnc-mirror,ArcEye/MK-Qt5,mhaberler/machinekit,kinsamanka/machinekit,unseenlaser/machinekit,unseenlaser/machinekit,Cid427/machinekit,bmwiedemann/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror,bobvanderlinden/machinekit,ArcEye/MK-Qt5,cdsteinkuehler/MachineKit,ikcalB/linuxcnc-mirror,ArcEye/machinekit-testing,cdsteinkuehler/linuxcnc,narogon/linuxcnc,RunningLight/machinekit,cdsteinkuehler/MachineKit,EqAfrica/machinekit,cnc-club/linuxcnc,kinsamanka/machinekit,araisrobo/machinekit,bobvanderlinden/machinekit,araisrobo/machinekit,EqAfrica/machinekit,cnc-club/linuxcnc,Cid427/machinekit,araisrobo/machinekit,araisrobo/machinekit,unseenlaser/machinekit,EqAfrica/machinekit,araisrobo/machinekit,jaguarcat79/ILC-with-LinuxCNC,cdsteinkuehler/linuxcnc,unseenlaser/linuxcnc,yishinli/emc2