mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-03 00:54:58 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# bison
|
||||
|
||||
> GNU parser generator.
|
||||
> More information: <https://www.gnu.org/software/bison/>.
|
||||
> More information: <https://manned.org/bison>.
|
||||
|
||||
- Compile a bison definition file:
|
||||
|
||||
@@ -14,12 +14,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Compile in debug mode, which causes the resulting parser to write additional information to `stdout`:
|
||||
|
||||
`bison --debug {{path/to/file.y}}`
|
||||
`bison {{[-t|--debug]}} {{path/to/file.y}}`
|
||||
|
||||
- Specify the output filename:
|
||||
|
||||
`bison --output {{path/to/output.c}} {{path/to/file.y}}`
|
||||
`bison {{[-o|--output]}} {{path/to/output.c}} {{path/to/file.y}}`
|
||||
|
||||
- Be verbose when compiling:
|
||||
|
||||
`bison --verbose`
|
||||
`bison {{[-v|--verbose]}}`
|
||||
|
||||
Reference in New Issue
Block a user