Skip to content

Commit

Permalink
Merge pull request #156 from tute-avalos/cppAddstdint
Browse files Browse the repository at this point in the history
Add stdint integer types for C/C++ syntax
  • Loading branch information
alexsanford authored Jul 24, 2020
2 parents 8ab937d + 9fa7293 commit d2a6435
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion syntaxhighlighter2/scripts/shBrushCpp.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ SyntaxHighlighter.brushes.Cpp = function()
'jmp_buf mbstate_t _off_t _onexit_t _PNH ptrdiff_t _purecall_handler ' +
'sig_atomic_t size_t _stat __stat64 _stati64 terminate_function ' +
'time_t __time64_t _timeb __timeb64 tm uintptr_t _utimbuf ' +
'va_list wchar_t wctrans_t wctype_t wint_t signed';
'va_list wchar_t wctrans_t wctype_t wint_t signed ' +
'int8_t int16_t int_32_t int64_t uint8_t uint16_t uint32_t uint64_t';

var keywords = 'break case catch class const __finally __exception __try ' +
'const_cast continue private public protected __declspec ' +
Expand Down
3 changes: 2 additions & 1 deletion syntaxhighlighter3/scripts/shBrushCpp.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
'jmp_buf mbstate_t _off_t _onexit_t _PNH ptrdiff_t _purecall_handler ' +
'sig_atomic_t size_t _stat __stat64 _stati64 terminate_function ' +
'time_t __time64_t _timeb __timeb64 tm uintptr_t _utimbuf ' +
'va_list wchar_t wctrans_t wctype_t wint_t signed';
'va_list wchar_t wctrans_t wctype_t wint_t signed ' +
'int8_t int16_t int32_t int64_t uint8_t uint16_t uint32_t uint64_t';

var keywords = 'alignas alignof auto break case catch class const constexpr decltype __finally __exception __try ' +
'const_cast consteval concept continue private public protected __declspec ' +
Expand Down

0 comments on commit d2a6435

Please sign in to comment.