1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:47:46 +00:00

Shell: Add a builtin that parses its sole argument and dumps its AST

Pretty useful for debugging.
This commit is contained in:
AnotherTest 2021-01-18 04:34:16 +03:30 committed by Andreas Kling
parent 39af1f8519
commit cd6e5c064b
2 changed files with 11 additions and 1 deletions

View file

@ -63,7 +63,8 @@
__ENUMERATE_SHELL_BUILTIN(disown) \
__ENUMERATE_SHELL_BUILTIN(fg) \
__ENUMERATE_SHELL_BUILTIN(bg) \
__ENUMERATE_SHELL_BUILTIN(wait)
__ENUMERATE_SHELL_BUILTIN(wait) \
__ENUMERATE_SHELL_BUILTIN(dump)
#define ENUMERATE_SHELL_OPTIONS() \
__ENUMERATE_SHELL_OPTION(inline_exec_keep_empty_segments, false, "Keep empty segments in inline execute $(...)") \