Commit Graph

6 Commits

Author SHA1 Message Date
Brian Leung 35cd14df7a cc-mode/if: escape backslashes
Escaping lets the user choose between writing an unbraced `if` by
pressing C-d, or continue with a braced `if` by pressing TAB. The
current behavior when pressing C-d at this point is that there is an
unbalanced right brace remaining.
2020-07-22 18:13:24 -07:00
Andrea Crotti a4fa2e3596
add all the missing modes 2019-03-09 18:35:58 +00:00
Andrea Crotti af322fb6d2
improve syntax to make parsing easier 2019-03-09 09:42:25 +00:00
Noam Postavsky 120d35010a Move some C/++ specific stuff to its own subdir (#231) 2017-10-31 13:17:53 +00:00
Davidbrcz 7534870632 Update cc-mode/main (#222)
The current cc-mode/main  snippet does not compile out of the box with gcc or g++.
I reverted it to a more standard code which does not use variable length array with its arguments
2017-09-27 13:09:05 +01:00
Andrea Crotti 0253a7eb57 move everything in snippets as it should be (#203) 2017-08-13 12:16:55 +01:00