You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Atom (and also github's markdown) only highlights the first line but not the second line for the following C code:
#definea >b()
intc;
intd;
And after the second line everything is fine again.
Here's a more realistic senario:
#definefmax(f, a, b) (f(a) > f(b) ? f(a) : f(b))
intc;
intd;
This bug only happens when there is one or more letter between > and (, including spaces but excluding tokens begining with numbers. For example these are going to trigger the bug:
#definea > a b c d ()
inte;
intf;
#definea > a b12 c34 d56 ()
inte;
intf;
This is not going to trigger the bug:
#definea > a b c 1d ()
inte;
intf;
Square brackets instead of parentheses would not trigger the bug:
#definea > a b c d []
inte;
intf;
#definea > a b12 c34 d56 []
inte;
intf;
Version of Atom editor: 0.204.0 on both Ubuntu 14 and Windows 7
This bug occurs even if all packages except core packages are disabled.
The text was updated successfully, but these errors were encountered:
(moved from atom/atom #7151)
Atom (and also github's markdown) only highlights the first line but not the second line for the following C code:
And after the second line everything is fine again.
Here's a more realistic senario:
This bug only happens when there is one or more letter between
>
and(
, including spaces but excluding tokens begining with numbers. For example these are going to trigger the bug:This is not going to trigger the bug:
Square brackets instead of parentheses would not trigger the bug:
Version of Atom editor: 0.204.0 on both Ubuntu 14 and Windows 7
This bug occurs even if all packages except core packages are disabled.
The text was updated successfully, but these errors were encountered: