Syntax highlighting using Mediawiki formatting: Difference between revisions
Syntax highlighting using Mediawiki formatting (view source)
Revision as of 16:07, 19 May 2024
, 1 month ago→{{header|Oberon-07}}: Fixed String handling
m (Moved Oberon-07 to the right place) |
(→{{header|Oberon-07}}: Fixed String handling) |
||
Line 652:
''(* includes "DEFINITION" - an oberonc extension *)''
rwCount := 0;
AddRw("
AddRw("
AddRw("
AddRw("
AddRw("
AddRw("
AddRw("
AddRw("
'''END''' InitReservedWords;
Line 774:
'''END'''
'''END'''
'''ELSIF''' ch = quote '''THEN''' ''(* start of a string *)''
inString := '''TRUE''';
OutAndNextChar
'''ELSIF''' ch = "(" '''THEN''' ''(* comment starting or "just" "(" *)''
NextChar;
Line 846 ⟶ 849:
'''END''' ToWiki.
=={{header|Phix}}==
Note the utility I use for this on a day-to-day basis (pwa/p2js.exw/<Ctrl M>) must be easily over 50,000 lines of code by now...<br>
|