[Home]

Summary:ASTERISK-16228: Certain C-style comments cause large blocks of code to be ignored
Reporter:Enrique Zamudio López (ezamudio)Labels:
Date Opened:2010-06-08 19:45:34Date Closed:2011-07-26 14:41:40
Priority:MinorRegression?No
Status:Closed/CompleteComponents:PBX/pbx_ael
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:If you have something like this in an AEL file:

/********************************/
/* This is an important context */
/********************************/
context my_test_context {
s => blabla...
}

The entire my_test_context or parts of it will be ignored.

****** ADDITIONAL INFORMATION ******

I had several comments using that style in some newly made AEL files and many extensions were not being found; after many reviews I decided to change to something like this:

//////////////////////////////////
/* This is an important context */
//////////////////////////////////

And then it worked, the missing extensions and contexts were found. It can be really annoying and time-consuming. I'm loving AEL but I think the parser still needs some work.
Comments:By: Leif Madsen (lmadsen) 2011-07-26 14:41:35.127-0500

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.  Further information can be found at http://www.asterisk.org/developers/bug-guidelines