ASI for C
1
Name:
Anonymous
2012-10-06 6:46
some languages like go and javascript have automatic semicolon insertion and I was wondering if there was a gcc/clang setting that allowed you to skip the semicolons even if in only some cases?
2
Name:
Anonymous
2012-10-06 6:53
colon insertion
I don't think so.
3
Name:
Anonymous
2012-10-06 6:54
Not yet, but you can make define rule for your semicolons to be something like
space tab
4
Name:
Anonymous
2012-10-06 9:05
Why would you want to write explicitly standards-breaking, non-portable code?
5
Name:
Anonymous
2012-10-06 9:07
6
Name:
Anonymous
2012-10-06 9:13
the lulz
Go back to 2005
>>3
No you can not do that, you flaming fuck. Please go back to scrubbing toilets,
``mental midget''
8
Name:
Anonymous
2012-10-06 14:47
metal mindget
9
Name:
Anonymous
2012-10-06 16:31
Just make a preprocessor yourself.
Go adds them in the lexer or something like that.
10
Name:
Anonymous
2012-10-06 16:40
How about I insert my semi into your colon
11
Name:
Anonymous
2012-10-06 17:00
How about you just imap ;; <C-o>A;?
12
Name:
Anonymous
2012-10-06 17:07