Skip to content

Commit

Permalink
refactor: promote warning "Plot data file not found" to error
Browse files Browse the repository at this point in the history
Signed-off-by: muzimuzhi <[email protected]>
  • Loading branch information
muzimuzhi committed Feb 13, 2023
1 parent d24b0ba commit 2386280
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/generic/pgf/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Changed

- Adapt `pgfmanual-test.tex`'s graphics path setting for flattened doc tree #1191
- "Plot data file now found" is promoted from warning to error.

### Contributors

Expand Down
4 changes: 2 additions & 2 deletions tex/generic/pgf/modules/pgfmoduleplot.code.tex
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
\pgfplotstreamstart%
\openin\r@pgf@reada=#1
\ifeof\r@pgf@reada
\pgfwarning{Plot data file `#1' not found.}
\pgferror{Plot data file `#1' not found.}
\else
\catcode`\#=14
\catcode`\^^M=5
Expand Down Expand Up @@ -400,7 +400,7 @@
\pgfplotstreamstart%
\openin\r@pgf@reada=#1
\ifeof\r@pgf@reada
\pgfwarning{Plot data file `#1' not found.}
\pgferror{Plot data file `#1' not found.}
\else
\catcode`\#=14
\catcode`\^^M=5
Expand Down

0 comments on commit 2386280

Please sign in to comment.