io: refactoring stack parser to reduce source code
io: refactoring stack parser to reduce source code

Move a static function into the local parser data to reduce source code.

quesnel/efyj,quesnel/efyj,quesnel/efyj