emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: first-class support for csharp in cc-mode.el


From: Vagn Johansen
Subject: Re: first-class support for csharp in cc-mode.el
Date: Thu, 31 Dec 2009 12:43:10 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (darwin)

dino chiesa <address@hidden> writes:

> Yes, according to the lang spec, the @ must immediately be followed
> by a double-quote. The symbol is not used for anything else in the
> language. I just looked and this is called a "verbatim string
> literal".
> http://www.go-mono.com/docs/index.aspx?link=ecmaspec%3a9.4.4.5

@ can also be used in front of an identifier. If you want to use
keywords like if and else as variable name you can write as

  @if 

  @else

in the code.


See page 71 in ECMA-334.pdf or 

http://www.go-mono.com/docs/index.aspx?link=ecmaspec%3a9.4.2

-- 
Vagn Johansen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]