mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 06:18:51 +00:00
The compiler believes these are where a macro call starts (marked with
`^`):
m "string"
^ ^
This commit addresses that.
14 lines
253 B
Nim
14 lines
253 B
Nim
macro a(b: string): untyped = discard
|
|
|
|
a "string"#[!]#
|
|
|
|
discard """
|
|
$nimsuggest --tester $file
|
|
>highlight $1
|
|
highlight;;skMacro;;1;;6;;1
|
|
highlight;;skType;;1;;11;;6
|
|
highlight;;skType;;1;;20;;7
|
|
highlight;;skMacro;;3;;0;;1
|
|
highlight;;skMacro;;3;;0;;1
|
|
"""
|