Skip to content

Commit c1224b4

Browse files
committed
Make sure spec documents #pragma once
1 parent 04f5b24 commit c1224b4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/doc/languagespec.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
\emph{lg@imageworks.com}
6363
}
6464
\date{{\large Date: 14 Jan, 2016 \\
65-
(with corrections, 30 Apr 2016)
65+
(with corrections, 14 Jun 2016)
6666
}
6767
\bigskip
6868
\bigskip
@@ -854,6 +854,7 @@ \section{Preprocessor}
854854
\indexapi{\#else}
855855
\indexapi{\#endif}
856856
\indexapi{\#include}
857+
\indexapi{\#pragma}
857858

858859
Shader source code is passed through a standard C preprocessor as a
859860
first step in parsing.
@@ -876,6 +877,7 @@ \section{Preprocessor}
876877
#else
877878
#endif
878879
#include
880+
#pragma once
879881
\end{code}
880882

881883

0 commit comments

Comments
 (0)