diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-04-08 23:49:42 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-04-08 23:49:42 +0200 |
commit | 9c990ae801b949de2728bfff4258aa90f9c96a52 (patch) | |
tree | ba2742dc1b3ef0b9898e20a6162e54fb58f440e2 /src/lex.cpp | |
parent | 7b8ebfcef1dada98ff36aeb4d16cd3c06517e879 (diff) | |
download | solar-9c990ae801b949de2728bfff4258aa90f9c96a52.tar solar-9c990ae801b949de2728bfff4258aa90f9c96a52.zip |
Allow adding source blocks to the top the of header and source files
Diffstat (limited to 'src/lex.cpp')
-rw-r--r-- | src/lex.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lex.cpp b/src/lex.cpp index 3adfb5b..7dfc013 100644 --- a/src/lex.cpp +++ b/src/lex.cpp @@ -42,6 +42,8 @@ struct keyword_t { /* the keyword list must be sorted */ static const keyword_t keywords[] = { + {"%header", TOK_HEADER}, + {"%source", TOK_SOURCE}, {"%type", TOK_TYPE}, }; |