Skip to content

Commit

Permalink
added doc
Browse files Browse the repository at this point in the history
  • Loading branch information
godsme committed Sep 5, 2020
1 parent f5a8906 commit 93145c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions doc/source/_ext/CppTransDslLexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
class CppTransDslLexer(CppLexer):
EXTRA_KEYWORDS = set(('abcdefgs'))
TYPE_KEYWORDS = set(('ASSERT', 'abcdefg'))
FUNC_KEYWORDS = set(('__MACO_simple_iterator_from_0', '__MACO_if', '__MACO_eq',
FUNC_KEYWORDS = set(('__MACO_simple_repeat_from_0', '__MACO_if', '__MACO_eq',
'__MACO_loop', '__MACO_while', '__MACO_prev', '__MACO_next',
'__MACO_inc', '__MACO_dec', '__MACO_while', '__MACO_map',
'__MACO_num_of_args'))
'__MACO_num_of_args', '__MACO_ne', '__MACO_gt', '__MACO_gte',
'__MACO_make_index_seq', '__MACO_make_token_seq', '__MACO_map_i'))
CONST_KEYWORDS = set(('whatsoever', 'abcdefg'))

def get_tokens_unprocessed(self, text):
Expand Down
2 changes: 1 addition & 1 deletion doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ natural comparison

这个宏对于处理变参问题极为有用。

还有很多其它的宏,具体请参见:`moco github <https://github.com/godsme/maco>`。
还有很多其它的宏,具体请参见:`moco github <https://github.com/godsme/maco>`_

关于具体的宏展开原理,请参考 :ref:`宏展开<expand>` 。

Expand Down

0 comments on commit 93145c4

Please sign in to comment.