On Friday, 28 February 2020 06:21:20 UTC, Christian Brabandt wrote: > > Is that actually valid syntax? >
It is valid syntax. According to the standard all comments are replaced with spaces before executing pre-processor directives like #include. This means any directive can appear after a comment. Not a typical coding convention but perfectly valid. > > Am 27.02.2020 um 21:53 schrieb Bogdan Barbu <[email protected] > <javascript:>>: > > > > > > Try the following: > > /* */ #include <stdio.h> > > or > > /* > > */ #include <stdio.h> > > > > The directive #include will not be highlighted. > > > > — > > You are receiving this because you are subscribed to this thread. > > Reply to this email directly, view it on GitHub, or unsubscribe. > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <https://github.com/vim/vim/issues/5705?email_source=notifications&email_token=ACY5DGFN43FK2JXF4EPWINTRFCUNTA5CNFSM4K5DBXB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENHEVQI#issuecomment-592333505>, > > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ACY5DGDS4XQLHHDVPEEX5RDRFCUNTANCNFSM4K5DBXBQ> > . > -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/afbadad9-9ab4-4f78-b519-4cc19a9ae2fa%40googlegroups.com.
