diff options
Add foldable blocks in Golang 2 highlighter (#33)
* initial commit
* Add implementation using concatenation
* Added block collapsing
* Finish block collapsing
* Fix nested blocks and + -> - when collapsing
* Remove unnecessary files.
* Add readme
1 files changed, 15 insertions, 0 deletions
| -rw-r--r-- | homework/81319/golang2html_code_fold/Makefile | 15 |
diff --git a/homework/81319/golang2html_code_fold/Makefile b/homework/81319/golang2html_code_fold/Makefile new file mode 100644 index 0000000..7367df5 --- /dev/null +++ b/homework/81319/golang2html_code_fold/Makefile @@ -0,0 +1,15 @@ +all: parser + +lexer_code.c: lexer.lex + flex -o lexer_code.c lexer.lex + +lexer: lexer_code.c + gcc lexer_code.c -o lexer + +parser.tab.c: parser.y + bison -d -v parser.y + +parser.tab.h: parser.tab.c + +parser: parser.tab.c parser.tab.h lexer_code.c + ${CC} ${CFLAGS} lexer_code.c parser.tab.c -o parser |
