Hi,

> btw, is there really no whitespace before the '#' in line 2 ?

No space. The line starts with '#'.

For testing, I created a valid HS file using CPP and complied it with
GHC 7.6.3. A .hscpp file contains:

----
# 1 "a.hs"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "a.hs"
{-# LANGUAGE CPP #-}
----

The line 2 also starts with '#'.

Comparing this with the previous one, the difference is '1' in the end
of line.

----
# 1 "utils/genprimopcode/dist/build/Lexer.hs"
# 1 "<built-in>" 1
# 1 "utils/genprimopcode/dist/build/Lexer.hs" 2
{-# LANGUAGE CPP,MagicHash #-}
----

--Kazu
_______________________________________________
ghc-devs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to