Commit Graph

12 Commits

Author SHA1 Message Date
z7zmey
983c721e83 scanner: fix scanning empty inline comment 2018-04-11 00:58:57 +03:00
z7zmey
9a799fc3be scanner: fix heredoc 2018-04-06 00:24:00 +03:00
z7zmey
5edfa095cb remove redundant nop before inline html 2018-04-02 00:02:13 +03:00
z7zmey
0a85cf2e1f issue #2 - fix backqouted strings
now it works as template strings
2018-03-30 18:35:18 +03:00
z7zmey
148cf59e9d issue #2 - fix single line comment
fix handling end of file
add handling php close tag
2018-03-30 17:46:04 +03:00
z7zmey
d31819db30 issue #2 - deny numbers and slashes in first char in variable name 2018-03-30 14:28:50 +03:00
z7zmey
07f02e4497 issue #2 - fix template string scanning
now it correctly check first char of variable
2018-03-30 12:23:18 +03:00
z7zmey
34aba57879 reorganize scanner_test.go
separate the template string test and heredoc test
2018-03-30 11:17:37 +03:00
z7zmey
83bb761062 issue #2 - fix template string scanning
`l.Prev.Rune` is actually current rune and `c` is next rune.
2018-03-29 16:46:21 +03:00
z7zmey
ca6ee77850 scanner test 2018-02-17 18:50:09 +02:00
z7zmey
21ad25c581 scanner test 2018-02-17 18:25:57 +02:00
z7zmey
b2d35d353d scanner test 2018-02-17 12:53:10 +02:00