Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
9234e4f
cil: add language
sbrl Oct 23, 2018
ba405d3
Add display title. I think this is how it works?
sbrl Oct 23, 2018
5a7a997
Rename prism.cil.js to prism-cil.js
sbrl Oct 23, 2018
094c252
Add CIL to components.json
sbrl Oct 23, 2018
05da1c6
Run gulp
sbrl Oct 23, 2018
4e850ea
[CIL] Update comments regex
sbrl Oct 24, 2018
c4267e0
CIL: Remove displayTitle from language definition
sbrl Oct 24, 2018
595d917
CIL: Reorder lines
sbrl Oct 24, 2018
6f77c0b
CIL: Move definition in components.json
sbrl Oct 24, 2018
a3ade2a
CIL: Update keywords list
sbrl Oct 24, 2018
7f19702
CIL: Improve number recognition regex
sbrl Oct 24, 2018
c9f9c33
CIL: Add additional punctuation
sbrl Oct 24, 2018
44206f0
CIL: Change function list
sbrl Oct 24, 2018
35616a1
CIL: Fix parse error
sbrl Oct 24, 2018
a76a28d
Rerun gulp
sbrl Oct 24, 2018
77d8318
Revert package-lock.json & prism.js
sbrl Oct 24, 2018
6676327
CIL: Use non-capturing groups
sbrl Oct 24, 2018
f07575c
Re-rerun gulp
sbrl Oct 24, 2018
00a0614
Add some tests
sbrl Oct 28, 2018
53f9376
Update keywords.test
sbrl Oct 29, 2018
6c11e5e
Add alias to directive
sbrl Oct 29, 2018
1b9a7b7
Improve prefix handling & pass tests
sbrl Nov 8, 2018
48f7f86
[CIL] Bugfix strings
sbrl Nov 9, 2018
0366685
[CIL] Add string test
sbrl Nov 9, 2018
706b0a8
[CIL] Fix directives by using a positive lookahead
sbrl Nov 9, 2018
03b4258
[CIL] Bugfix assembly references
sbrl Nov 9, 2018
882f5c9
[CIL] Add additional keywords
sbrl Nov 9, 2018
2758ec0
Re-run gulp
sbrl Nov 9, 2018
3eb0ed6
[CIL] Add char keyword
sbrl Nov 13, 2018
89f49eb
[CIL] Add tests for new keywords
sbrl Nov 13, 2018
57c1fbe
Merge branch 'master' into patch-1
sbrl Nov 28, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[CIL] Bugfix strings
  • Loading branch information
sbrl committed Nov 9, 2018
commit 48f7f86532ef29bdadfdbc934c03e9907eb08df1
2 changes: 1 addition & 1 deletion components/prism-cil.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Prism.languages.cil = {
'comment': /\/\/.*/,

'string': {
pattern: /(?:["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
greedy: true
},

Expand Down