Skip to content

Commit

Permalink
Make 'size_t' a class 3 keyword in C
Browse files Browse the repository at this point in the history
This is consistent with how we highlight recognized identifiers such as 'Real' in Modelica listings.
  • Loading branch information
henrikt-ma committed Dec 28, 2020
1 parent fcf57ee commit 9c7f5b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mlsshared.sty
Expand Up @@ -135,7 +135,8 @@
else,enum,extern,float,for,goto,if,int,long,register,return,%
short,signed,sizeof,static,struct,switch,typedef,union,unsigned,%
void,volatile,while},
% henrikt-ma: How about adding some highlighting of 'size_t' as a recognized name?
morekeywords=[3]{%
size_t},
sensitive=true,
morecomment=[s]{/*}{*/},
morecomment=[l]//, % nonstandard
Expand Down

0 comments on commit 9c7f5b9

Please sign in to comment.