example updates
FossilOrigin-Name: 20149d1819aa93a0fd469c5ad05031d065bf168a2d47a5c94bd233c71f427a41
This commit is contained in:
parent
b0bea1dde3
commit
96ae77edbb
2 changed files with 9 additions and 5 deletions
|
@ -7,6 +7,7 @@ to the state it was in prior to the creation of the marker.
|
||||||
:class:marker (a-)
|
:class:marker (a-)
|
||||||
compiling? [ compile:lit &class:marker compile:call ]
|
compiling? [ compile:lit &class:marker compile:call ]
|
||||||
[ fetch-next !Dictionary fetch !Heap ] choose ;
|
[ fetch-next !Dictionary fetch !Heap ] choose ;
|
||||||
|
|
||||||
:marker (s-) [ @Heap @Dictionary ] dip d:create , , &class:marker reclass ;
|
:marker (s-) [ @Heap @Dictionary ] dip d:create , , &class:marker reclass ;
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
Support for comments with embedded spaces; this is useful for quickly
|
# C Style Comments
|
||||||
commenting out portions of lines or larger chunks of code during
|
|
||||||
debugging.
|
|
||||||
|
|
||||||
This provides for C style /* ... */ comments. It works by patching
|
This adds support for comments with embedded spaces. It is useful
|
||||||
`interpret` to make it ignore tokens until the token is */.
|
for quickly commenting out portions of lines or larger chunks of
|
||||||
|
code during debugging.
|
||||||
|
|
||||||
|
Specifically, this provides for C style /* ... */ comments. It
|
||||||
|
works by patching `interpret` to make it ignore tokens until the
|
||||||
|
token is `*/`.
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
{{
|
{{
|
||||||
|
|
Loading…
Reference in a new issue