mirror of
https://github.com/rizinorg/rizin
synced 2026-08-22 20:26:16 -04:00
* Move binrz meson directives to binrz/ dir * Move rizin-shell-parser to a subproject * Move bochs to a meson subproject * Move rzqnx to meson subproject * Move winkd to a meson subproject * Move rzar to a meson subproject * Move rzw32dbg_wrap to a meson subproject * Move ptrace-wrap to a meson subproject * Move rzgdb to a meson subproject * Rename w32dbg_wrap to rzw32dbg_wrap * Update CODEOWNERS * Remove old references to shlr * Move shlr/heap stuff in core and remove shlr/arm * Move spp to a meson subproject * Remove last references to shlr * Remove use_webui option * Move include files directives to librz/include/meson.build * Move librz meson directives into librz/meson.build * Handle d/ directories inside the specific module meson.build * Move plugins listing to specific module meson.build * Move rzheap to its own subproject * Fix js linter and licenses * Use meson.override_dependency for all rz_ modules
69 lines
1.1 KiB
Text
69 lines
1.1 KiB
Text
=======================
|
|
One command and comment
|
|
=======================
|
|
|
|
afl # af is not going to be parsed
|
|
|
|
---
|
|
|
|
(statements
|
|
(arged_stmt (cmd_identifier)))
|
|
|
|
|
|
==================
|
|
Begin with comment
|
|
==================
|
|
|
|
# this is just a comment
|
|
# ~?
|
|
# boh
|
|
|
|
---
|
|
|
|
(statements)
|
|
|
|
|
|
====================================
|
|
Multiple statements multiple comments
|
|
====================================
|
|
|
|
afl # first comment
|
|
p8 10 # second comment
|
|
p8 10# third comment
|
|
|
|
---
|
|
|
|
(statements
|
|
(arged_stmt (cmd_identifier))
|
|
(arged_stmt (cmd_identifier)
|
|
(args (arg (arg_identifier))))
|
|
(arged_stmt (cmd_identifier)
|
|
(args (arg (arg_identifier)))))
|
|
|
|
==================================
|
|
Comment with # in the middle line
|
|
==================================
|
|
|
|
p8 4 # something
|
|
|
|
---
|
|
|
|
(statements
|
|
(arged_stmt (cmd_identifier)
|
|
(args (arg (arg_identifier)))))
|
|
|
|
|
|
============================================
|
|
#! identified as comment if not command name
|
|
============================================
|
|
|
|
?e #!this is a comment
|
|
?e #this is also a comment
|
|
?e # and this too
|
|
|
|
---
|
|
|
|
(statements
|
|
(arged_stmt (cmd_identifier))
|
|
(arged_stmt (cmd_identifier))
|
|
(arged_stmt (cmd_identifier)))
|