Borked up syntax highlighting (for a GitLab issue)
(1) This works okay: typedef struct metres metres_t; int metres_get_value(metres_t *x); metres_t *metres_add(metres_t *x, metres_t *y); metres_t *metres_new(int value); void metres_delete(metres_t...
(1) This works okay:
typedef struct metres metres_t;
int metres_get_value(metres_t *x);
metres_t *metres_add(metres_t *x, metres_t *y);
metres_t *metres_new(int value);
void metres_delete(metres_t *x);
(2) This works badly:
-
typedef struct metres metres_t;
int metres_get_value(metres_t *x);
metres_t *metres_add(metres_t *x, metres_t *y);
metres_t *metres_new(int value);
void metres_delete(metres_t *x);
(3) This works slightly better, but the list bullet is weird:
-
typedef struct metres metres_t; int metres_get_value(metres_t *x); metres_t *metres_add(metres_t *x, metres_t *y); metres_t *metres_new(int value); void metres_delete(metres_t *x);
4
votes