# Updating PEGTL

**URL:** https://discourse.kitware.com/t/updating-pegtl/1053
**Category:** Software Process
**Created:** [July 6, 2023, 3:50am UTC](https://discourse.kitware.com/t/updating-pegtl/1053 "2023-07-06T03:50:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dcthomp](https://discourse.kitware.com/user_avatar/discourse.kitware.com/dcthomp/32/10_2.png) [@dcthomp](https://discourse.kitware.com/u/dcthomp)
#### Post date: [July 6, 2023, 3:50am UTC](https://discourse.kitware.com/t/updating-pegtl/1053/1 "2023-07-06T03:50:41Z")

</div>

Hi all! I’ve updated the CMB superbuild’s version of PEGTL from 2.7.1 to 2.8.3. This also required a small change to SMTK. This was merged so that the CI images generated tonight have a chance at including

- the latest [units](https://gitlab.kitware.com/units/units/) library;
- a PEGTL version that fixes a bug in some upcoming changes to the units library; and
- a version of the fmt library for the [upcoming SMTK parameterized-blocks](https://discourse.kitware.com/t/adding-parameterized-blocks-to-sbt-files/1013/) feature.

Be aware that in this new version of PEGTL the input classes have renamed the `line_as_string()` method to `line_at()`. If you have code that depends on PEGTL, see [SMTK MR 2897](https://gitlab.kitware.com/cmb/smtk/-/merge_requests/2897) for an example of how to make your code work with either version.
