Keys from eFlora of Pakistan:

Bracts equalling or slightly longer than pedicel in fruits; corolla pale pinkish to white; fruits usually rounded or very obtuse at apex; leaf segments obscurely channelled or not Fumaria indica
+Bracts shorter than pedicel (1/2-3/4 as long) in fruits; corolla ± pink-violet with dark tips; fruits usually minutely apiculate (or obtuse); leaf segments flat Fumaria vaillantii