File: comment_test.p.styled

package info (click to toggle)
scite 5.5.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,176 kB
  • sloc: cpp: 175,852; ansic: 21,482; python: 7,014; makefile: 934; sh: 257; perl: 252; ruby: 217; sql: 194; php: 63; vhdl: 51; erlang: 47; objc: 22; modula3: 21; cobol: 18; lisp: 18; asm: 17; fortran: 12; ml: 11; xml: 7; tcl: 6
file content (70 lines) | stat: -rw-r--r-- 1,708 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{12}//line comment
{0}
{10}/* block comment */{0}

{10}/* block comment on 
multiple lines */{0}

{10}/* //line comment within block comment */{0}

{12}// /*block comment within line comment */
{0}
{12}// using open-block-comment symbol alone on line comment /*
{0}
{10}/* /* nested block comment */ */{0}

{2}DISPLAY{0} {3}"this line of code is a test"{6}.{0} 
{2}DISPLAY{0} {3}"//this line of code is a test"{6}.{0}
{2}DISPLAY{0} {3}"/* this line of code is a test */"{6}.{0}

{12}// using close-block-comment symbol alone on line comment */
{0}
{12}// /* improperly closed block comment within line comment */ */
{0}
{10}/* 
//line comment 1 in block comment
//line comment 2 in block comment
//line comment 3 in block comment
*/{0}

{10}/*
block comment text
//line comment text
/* inner block comment text*/
*/{0}

{2}DISPLAY{0} {3}"This is a open-block-comment symbol /*"{6}.{0}
{2}DISPLAY{0} {3}"This is a close-block-comment symbol */"{6}.{0}

{12}//* line comment plus * looks like open-block-comment
{0}

{2}DISPLAY{0} {3}"this line of code is a test"{6}.{0}

{10}/*display statement within block comment
DISPLAY "this is a string".
*/{0}

{2}DISPLAY{0} {3}"//line comment within string"{6}.{0}

{2}DISPLAY{0} {3}"/* //line comment within block comment within string */"{6}.{0}
                                                                        
{10}/* Improperly closed block comment */{0} {6}*/{0}

{2}DISPLAY{0} {3}"this line of code is a test"{6}.{0}

{2}DISPLAY{0} {3}"line comment with leading whitespace"{6}.{0} {12}// this is a line comment
{2}DISPLAY{0} {3}"line comment without leading whitespace"{6}.//{0} {7}this{0} {7}is{0} {7}not{0} {7}a{0} {7}line{0} {7}comment{0}