]> granicus.if.org Git - re2c/commit
Command normalization: update pointer to last command, it might change.
authorUlya Trofimovich <skvadrik@gmail.com>
Sun, 16 Apr 2017 10:10:25 +0000 (11:10 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Sun, 16 Apr 2017 10:10:25 +0000 (11:10 +0100)
commitb6b65d49fc75b4865cbbcc4650310da509dcb760
tree6d67095d521ec9e37da56bbcf96f5051e41ec227
parentf38f8190728cbda6c2fc88913442fee17a925190
Command normalization: update pointer to last command, it might change.

If normalization of 'save' commands removes the last 'save' command,
then pointer to 'next' will point to the 'next' field of the removed
command and the chain of commands will break.
re2c/src/dfa/cfg/normalize.cc