User:CRGreathouse: Difference between revisions
Content added Content deleted
m (→GeSHi tester) |
m (→GeSHi tester) |
||
Line 49: | Line 49: | ||
default(simplify, 1) \\ default that conflicts with a function |
default(simplify, 1) \\ default that conflicts with a function |
||
trap(gdiver, "tried to divide by 0", 1/0) \\ error type |
trap(gdiver, "tried to divide by 0", 1/0) \\ error type |
||
"this is a string with embedded \"quotes\" and |
"this is a string with embedded \"quotes\" and "a_variable" in the middle" \\ string context, embedded " |
||
"another string, this one with a \\ in the middle, the rest shouldn't be a comment" |
"another string, this one with a \\ in the middle, the rest shouldn't be a comment" |
||
'this is all a giant |
'this is all a giant literal_variable \\ not a quote, not an error -- though if only the first part is treated as a variable that would be fine |
||
(x^2+1)'+1 \\ derivative of x^2+1, plus one -- nothing funny should happen to the +1 |
(x^2+1)'+1 \\ derivative of x^2+1, plus one -- nothing funny should happen to the +1 |
||
100 \ 9 *4 / 3 + 1 - 2 \\ are operators highlighted equally, even integer division? |
100 \ 9 *4 / 3 + 1 - 2 \\ are operators highlighted equally, even integer division? |