summaryrefslogtreecommitdiff
path: root/tikzit/src/common/tikzlexer.lm
AgeCommit message (Collapse)Author
2013-03-25Fix clang warningsAlex Merry
2013-03-24Make first/last_column count character offsetsAlex Merry
This means that tabs don't get treated specially. No-one can seem to agree how many spaces a tab should be, and the first thing we actually ended up doing was to undo the extra tab counting.
2013-03-23Fixes to the parser error-reporting codeAlex Merry
2013-03-23Fix line counting for newlines in non-INITIAL modesAlex Merry
2013-03-23Bring back parser/lexer error reportingAlex Merry
Even better than before!
2013-03-23Make the parser/lexer reentrantAlex Merry
No more locking! Also, the interface for TikzGraphAssembler is much simpler. Changes to OSX code are completely untested.
2013-03-23Make the parser more coherentAlex Merry
We build things up in stacks in the parser, rather than relying on TikzGraphAssembler so much. This makes tikzparser.ym easier to follow (IMHO).
2013-03-22Rewrite the lexer to be context-awareAlex Merry
It turns out Flex can do modal lexing. This means that we can switch mode for optional properties, and also for co-ordinates. As a result, the parser is much simpler and doesn't keel over all the time on valid input.
2013-03-13Prevent buffer overflowsAlex Merry
Repeatedly pasting crazy-long single-line code into the buffer would crash tikzit before.
2013-02-04Fix property list parsingAlex Merry
QUOTEDSTRING (double quotes) is just not a thing in tikz. Also, allow keys to be {-quoted as well as values.
2013-02-04Parse escaped { and } characters properlyAlex Merry
Within a {-quoted string (one surrounded by { and }), ignore any characters prefixed by backslash.
2013-01-29Fix variable declarationsAlex Merry
yy* vars are owned by the lexer file (and should be externed from elsewhere).
2013-01-27Better parser errors on syntax errors. Will show line number, description ↵Johan Paulsson
and where the error happened. Test function for delimited string if they will break reprising.
2013-01-24Anchor support for the parser and osx guiJohan Paulsson
2012-05-29Fix handling for property values containing = or ,Alex Merry
Equals and comma are special values that need to be quoted with curly braces. This both parses and generates such quoted strings, although they are only generated when necessary.
2012-05-29Add vi modelines to the lexer/parser codeAlex Merry
2012-01-09Move tikzit into "trunk" directoryrandomguy3
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@365 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64