summaryrefslogtreecommitdiff
path: root/AK/Debug.h.in
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2023-02-11 17:59:15 +0330
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2023-02-13 23:00:15 +0330
commit2a276c86d4b84668ab7f8daa2c1e37f7d9e5418f (patch)
tree6d3b6533dc1c6e890eb8dde1a540397dfa2a0419 /AK/Debug.h.in
parent2dc1682274c7f1fcb3ba1ad4d613cf307581b748 (diff)
downloadserenity-2a276c86d4b84668ab7f8daa2c1e37f7d9e5418f.zip
Shell: Start implementing a POSIX-compliant parser
The parser is still very much a work-in-progress, but it can currently parse most of the basic bits, the only *completely* unimplemented things in the parser are: - heredocs (io_here) - alias expansion - arithmetic expansion There are a whole suite of bugs, and syntax highlighting is unreliable at best. For now, this is not attached anywhere, a future commit will enable it for /bin/sh or a `Shell --posix` invocation.
Diffstat (limited to 'AK/Debug.h.in')
-rw-r--r--AK/Debug.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/AK/Debug.h.in b/AK/Debug.h.in
index b5f3d95933..295f3cc4ed 100644
--- a/AK/Debug.h.in
+++ b/AK/Debug.h.in
@@ -410,6 +410,10 @@
#cmakedefine01 SHELL_JOB_DEBUG
#endif
+#ifndef SHELL_POSIX_PARSER_DEBUG
+#cmakedefine01 SHELL_POSIX_PARSER_DEBUG
+#endif
+
#ifndef SOLITAIRE_DEBUG
#cmakedefine01 SOLITAIRE_DEBUG
#endif