]> granicus.if.org Git - graphviz/commit
grammar.y pop: [nfc] fix incorrect pop from global stack
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 6 Feb 2022 06:03:48 +0000 (17:03 +1100)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 7 Feb 2022 07:51:14 +0000 (18:51 +1100)
commitebba9fd5e3fa29ac8e12e56ac145bc69ebe49847
treeed870744a97d47e8f9ee4ef93002937ce4770348
parentf36ef5e8f81dca6f0fb69611d6c39bd1b25b163f
grammar.y pop: [nfc] fix incorrect pop from global stack

This function was incorrectly referencing the global stack, `S`, instead of the
stack passed in. This change is marked NFC because `pop` is only ever called
with `S` as a parameter, but it still seemed worth correcting.
lib/cgraph/grammar.y