diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..c312232 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +*.seshat linguist-language=Seshat + +build/docs/ linguist-generated diff --git a/docs/Makefile b/docs/Makefile index 5419194..3e17422 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -6,7 +6,7 @@ SPHINXOPTS ?= SPHINXBUILD ?= sphinx-build SOURCEDIR = . -BUILDDIR = ../build/docs/ +BUILDDIR = _build/ # Put it first so that "make" without argument is like "make help". help: diff --git a/docs/conf.py b/docs/conf.py index c101640..c73d0b5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -20,7 +20,7 @@ a4_base_path = dirname(__file__) + '/../grammar/seshat/' templates_path = ['_templates'] -exclude_patterns = ['Thumbs.db', '.DS_Store'] +exclude_patterns = ['_build/', 'Thumbs.db', '.DS_Store'] diff --git a/grammar/seshat/SeshatLexer.g4 b/grammar/seshat/SeshatLexer.g4 index cda5b27..97ab96c 100644 --- a/grammar/seshat/SeshatLexer.g4 +++ b/grammar/seshat/SeshatLexer.g4 @@ -30,11 +30,11 @@ R: '𓂋' ; END: '𓂢' ; /** - * 𓌃𓆓 ḏd-mdw "recitation" (literally "saying words"), commonly used in religious texts as starting quotation mark. + * 𓆓𓌃 ḏd-mdw "recitation" (literally "saying words"), commonly used in religious texts as starting quotation mark. * * It seems that there was no end quotation mark. 𓂢 grḥ "end" is not a end quotation mark, but used here for the similarity. */ -STRING_LITERAL: '𓌃𓆓' ~'\u{130a2}'+ END ; +STRING_LITERAL: '𓆓𓌃' ~'\u{130a2}'+ END ; // TODO: '\n' END ? /**