Software /
code /
prosody
Comparison
tools/erlparse.lua @ 607:7d1493fc524a
Fixed a variable redeclaration
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Mon, 08 Dec 2008 07:41:29 +0500 |
parent | 519:cccd610a0ef9 |
child | 615:4ae3e81513f3 |
comparison
equal
deleted
inserted
replaced
606:f8f1534a4e06 | 607:7d1493fc524a |
---|---|
70 end | 70 end |
71 local function readSpecialString() | 71 local function readSpecialString() |
72 read("<"); read("<"); -- read << | 72 read("<"); read("<"); -- read << |
73 local str = ""; | 73 local str = ""; |
74 if peek() == "\"" then | 74 if peek() == "\"" then |
75 local str = readString(); | 75 str = readString(); |
76 elseif peek() ~= ">" then | 76 elseif peek() ~= ">" then |
77 error(); | 77 error(); |
78 end | 78 end |
79 read(">"); read(">"); -- read >> | 79 read(">"); read(">"); -- read >> |
80 return str; | 80 return str; |