Skip to content

Commit

Permalink
BASIC: Make strings greedy
Browse files Browse the repository at this point in the history
  • Loading branch information
Golmote committed Dec 19, 2017
1 parent 3950262 commit 60114d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
5 changes: 4 additions & 1 deletion components/prism-basic.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/prism-basic.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 1 addition & 12 deletions examples/prism-basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,4 @@ <h2>QuickBASIC example</h2>
REM This procedure uses a local variable called Stars$
Stars$ = STRING$(StarCount, "*")
PRINT Stars$
END SUB</code></pre>

<h2>Known failures</h2>
<p>There are certain edge cases where Prism will fail.
There are always such cases in every regex-based syntax highlighter.
However, Prism dares to be open and honest about them.
If a failure is listed here, it doesn’t mean it will never be fixed. This is more of a “known bugs” list, just with a certain type of bug.
</p>

<h3>Two double quotes inside a comment</h3>
<pre><code>! This "comment" is broken
REM This "remark" is broken</code></pre>
END SUB</code></pre>

0 comments on commit 60114d0

Please sign in to comment.