Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add line number to S-expression parser
Summary: Add m_line_no private data member inside s_expr_istream Add 1 to m_line_no whenever \\n is found Attach On line <m_line_no>: prefix to the error message Add line numbers to the test Reviewed By: justinjhendrick, arnaudvenet Differential Revision: D8719762 fbshipit-source-id: 0f80391a36254c24278eb60a8844c68fa1305006
- Loading branch information
1 parent
71dc4c7
commit 6a5acc1
Showing
2 changed files
with
36 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters